diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-02-04 13:25:03 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-02-04 13:29:07 +0000 |
| commit | 439fb65f605e8c78781fad1aae09eb97f9ecbf9b (patch) | |
| tree | 48e5a23fd377f7bcf09d3485784ed7d29c844bc3 /tests/app/Elements/XrefLocationTest.php | |
| parent | 04928faf4e21dcf6cecdbac0a2e4c8b03137b7dd (diff) | |
| download | webtrees-439fb65f605e8c78781fad1aae09eb97f9ecbf9b.tar.gz webtrees-439fb65f605e8c78781fad1aae09eb97f9ecbf9b.tar.bz2 webtrees-439fb65f605e8c78781fad1aae09eb97f9ecbf9b.zip | |
PHP7.1 Compatibility in tests
Diffstat (limited to 'tests/app/Elements/XrefLocationTest.php')
| -rw-r--r-- | tests/app/Elements/XrefLocationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Elements/XrefLocationTest.php b/tests/app/Elements/XrefLocationTest.php index c9cb52dc8c..89fcbf56db 100644 --- a/tests/app/Elements/XrefLocationTest.php +++ b/tests/app/Elements/XrefLocationTest.php @@ -64,10 +64,10 @@ class XrefLocationTest extends TestCase $dom->loadHTML($html); $select_nodes = $dom->getElementsByTagName('select'); - self::assertEquals(1, $select_nodes->count()); + self::assertEquals(1, $select_nodes->length); $option_nodes = $select_nodes[0]->getElementsByTagName('option'); - self::assertEquals(1, $option_nodes->count()); + self::assertEquals(1, $option_nodes->length); } /** |
