Update tests/php/Forms/TreeDropdownFieldTest.php

Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
elliot sawyer 2023-04-11 10:43:47 +12:00 committed by GitHub
parent 280354df08
commit 0d9724c708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)');
} }
} }