mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-01 09:02:38 +00:00
correcting all the inverted assertEqual tests
$expected is the first argument. Now certain test results start to make sense: 1) MultibyteTest::testUsingMbStrtolower Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ +ⴀⴁⴂⴃⴄⴅⴆⴇⴈⴉⴊⴋⴌⴍⴎⴏⴐⴑⴒⴓⴔⴕⴖⴗⴘⴙⴚⴛⴜⴝⴞⴟⴠⴡⴢⴣⴤⴥ
This commit is contained in:
parent
e24ef781e5
commit
0a53242e3e
59 changed files with 3691 additions and 3691 deletions
|
@ -520,7 +520,7 @@ class ModelValidationTest extends BaseModelTest {
|
|||
$expected = array(
|
||||
'title' => array('tooShort')
|
||||
);
|
||||
$this->assertEqual($result, $expected);
|
||||
$this->assertEqual($expected, $result);
|
||||
|
||||
$TestModel->validate = array(
|
||||
'title' => array(
|
||||
|
@ -541,7 +541,7 @@ class ModelValidationTest extends BaseModelTest {
|
|||
$expected = array(
|
||||
'title' => array('tooShort', 'onlyLetters')
|
||||
);
|
||||
$this->assertEqual($result, $expected);
|
||||
$this->assertEqual($expected, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue