mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
correct argument order for phpunit asserts
This commit is contained in:
parent
bc2cd00123
commit
8a52a77cbc
2 changed files with 4 additions and 4 deletions
|
@ -943,7 +943,7 @@ class CakeResponseTest extends CakeTestCase {
|
|||
'secure' => false,
|
||||
'httpOnly' => false);
|
||||
$result = $response->cookie('CakeTestCookie[Testing]');
|
||||
$this->assertEquals($result, $expected);
|
||||
$this->assertEquals($expected, $result);
|
||||
|
||||
$cookie = array(
|
||||
'name' => 'CakeTestCookie[Testing2]',
|
||||
|
@ -975,7 +975,7 @@ class CakeResponseTest extends CakeTestCase {
|
|||
);
|
||||
|
||||
$result = $response->cookie();
|
||||
$this->assertEquals($result, $expected);
|
||||
$this->assertEquals($expected, $result);
|
||||
|
||||
$cookie = $expected['CakeTestCookie[Testing]'];
|
||||
$cookie['value'] = 'test';
|
||||
|
@ -1002,7 +1002,7 @@ class CakeResponseTest extends CakeTestCase {
|
|||
);
|
||||
|
||||
$result = $response->cookie();
|
||||
$this->assertEquals($result, $expected);
|
||||
$this->assertEquals($expected, $result);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2107,7 +2107,7 @@ class HashTest extends CakeTestCase {
|
|||
'Author' => array('id' => '3', 'user' => 'larry', 'password' => null),
|
||||
)
|
||||
);
|
||||
$this->assertEquals($result, $expected);
|
||||
$this->assertEquals($expected, $result);
|
||||
|
||||
$data = array(
|
||||
'0/Post/id' => 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue