Correct parameter order of assertEquals and assertNotEquals

This commit is contained in:
Kyle Robinson Young 2012-03-22 23:37:12 -07:00
parent 3851ad08a6
commit 90e7afbdc7
97 changed files with 1813 additions and 1813 deletions
lib/Cake/Test/Case/Error

View file

@ -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');
}
/**