mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
whitespace
This commit is contained in:
parent
d5fdf45e51
commit
a62c5350b3
1 changed files with 5 additions and 5 deletions
|
@ -3435,11 +3435,11 @@ class SetTest extends CakeTestCase {
|
|||
);
|
||||
|
||||
$result = Set::nest($input, array('idPath' => '/id', 'parentPath' => '/parent_id'));
|
||||
foreach($result as &$row) {
|
||||
if (empty($row['children'])) {
|
||||
unset($row['children']);
|
||||
}
|
||||
}
|
||||
foreach($result as &$row) {
|
||||
if (empty($row['children'])) {
|
||||
unset($row['children']);
|
||||
}
|
||||
}
|
||||
$this->assertEquals($input, $result);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue