mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-03 21:33:32 +00:00
Correct parameter order of assertEquals and assertNotEquals
This commit is contained in:
parent
3851ad08a6
commit
90e7afbdc7
97 changed files with 1813 additions and 1813 deletions
lib/Cake/Test/Case/Error
|
@ -211,7 +211,7 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
$ExceptionRenderer->render();
|
||||
$result = ob_get_clean();
|
||||
|
||||
$this->assertEquals($result, 'widget thing is missing');
|
||||
$this->assertEquals('widget thing is missing', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -230,7 +230,7 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
$ExceptionRenderer->render();
|
||||
$result = ob_get_clean();
|
||||
|
||||
$this->assertEquals($result, 'widget thing is missing', 'Method declared in subclass converted to error400');
|
||||
$this->assertEquals('widget thing is missing', $result, 'Method declared in subclass converted to error400');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue