mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update tests/php/Forms/TreeDropdownFieldTest.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
parent
280354df08
commit
0d9724c708
@ -404,6 +404,6 @@ class TreeDropdownFieldTest extends SapphireTest
|
|||||||
$tree = $response->getBody();
|
$tree = $response->getBody();
|
||||||
$json = json_decode($tree);
|
$json = json_decode($tree);
|
||||||
$children2After = count($json->children);
|
$children2After = count($json->children);
|
||||||
$this->assertEquals($children2After, 8, 'PartialMatch search for child has 8 results in fixture (excludes grandchild)');
|
$this->assertEquals($children2After, 8, 'StartsWith search for child has 8 results in fixture (excludes grandchild)');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user