mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix failing test in PHP5.4
This commit is contained in:
parent
7f46ede097
commit
2cc38b5ba7
2 changed files with 4 additions and 3 deletions
|
@ -16,4 +16,5 @@
|
|||
* @since CakePHP(tm) v 1.1.11.4062
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
return $config['Cake.version'] = '2.0.4';
|
||||
$config['Cake.version'] = '2.0.4';
|
||||
return $config;
|
||||
|
|
|
@ -2770,7 +2770,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
$this->assertEquals(count($result['Tag']), 2);
|
||||
$this->assertEquals($result['Tag'][0]['tag'], 'tag1');
|
||||
$this->assertEquals(count($result['Comment']), 1);
|
||||
$this->assertEquals(count($result['Comment'][0]['comment']['Article comment']), 1);
|
||||
$this->assertEquals(count($result['Comment'][0]['comment']), 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4098,7 +4098,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
$this->assertEquals(count($result['Tag']), 2);
|
||||
$this->assertEquals($result['Tag'][0]['tag'], 'tag1');
|
||||
$this->assertEquals(count($result['Comment']), 1);
|
||||
$this->assertEquals(count($result['Comment'][0]['comment']['Article comment']), 1);
|
||||
$this->assertEquals(count($result['Comment'][0]['comment']), 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue