mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +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
|
@ -312,7 +312,7 @@ class TestTaskTest extends CakeTestCase {
|
|||
$expected = array('plugin.test_task.test_task_comment', 'app.articles_tags',
|
||||
'app.test_task_article', 'app.test_task_tag');
|
||||
|
||||
$this->assertEquals(sort($result), sort($expected));
|
||||
$this->assertEquals(sort($expected), sort($result));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -368,7 +368,7 @@ class TestTaskTest extends CakeTestCase {
|
|||
$this->Task->expects($this->at(1))->method('in')->will($this->returnValue(1));
|
||||
|
||||
$result = $this->Task->getClassName('Model');
|
||||
$this->assertEquals($result, 'MyCustomClass');
|
||||
$this->assertEquals('MyCustomClass', $result);
|
||||
|
||||
$result = $this->Task->getClassName('Model');
|
||||
$options = App::objects('model');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue