mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Reformatting test case. Fixes #104
This commit is contained in:
parent
bdfb50e6bb
commit
aa3a197b26
1 changed files with 3 additions and 2 deletions
|
@ -1037,7 +1037,9 @@ class SetTest extends CakeTestCase {
|
|||
$data = array(
|
||||
'Level1' => array(
|
||||
'Level2' => array('test1', 'test2'),
|
||||
'Level2bis' => array('test3', 'test4')));
|
||||
'Level2bis' => array('test3', 'test4')
|
||||
)
|
||||
);
|
||||
$this->assertEqual(Set::extract('/Level1/Level2', $data), array(array('Level2' => array('test1', 'test2'))));
|
||||
$this->assertEqual(Set::extract('/Level1/Level2bis', $data), array(array('Level2bis' => array('test3', 'test4'))));
|
||||
}
|
||||
|
@ -1113,7 +1115,6 @@ class SetTest extends CakeTestCase {
|
|||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* testSetExtractReturnsEmptyArray method
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue