summaryrefslogtreecommitdiff
path: root/tests/app/Elements/XrefLocationTest.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2020-12-27 20:12:27 +0000
committerGreg Roach <greg@subaqua.co.uk>2021-03-11 10:22:29 +0000
commitf7cf8a155e2743f3d124eef3d30a558ab062fa4b (patch)
treea45052d9dc68b2049f4848e1043f56f6782ad3dd /tests/app/Elements/XrefLocationTest.php
parent7989fe578b0082b5d3378ee0b461904deb3802d1 (diff)
downloadwebtrees-f7cf8a155e2743f3d124eef3d30a558ab062fa4b.tar.gz
webtrees-f7cf8a155e2743f3d124eef3d30a558ab062fa4b.tar.bz2
webtrees-f7cf8a155e2743f3d124eef3d30a558ab062fa4b.zip
Remove vendor dir, add support for PHP 8.0, drop support for PHP 7.1 and 7.2
Diffstat (limited to 'tests/app/Elements/XrefLocationTest.php')
-rw-r--r--tests/app/Elements/XrefLocationTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Elements/XrefLocationTest.php b/tests/app/Elements/XrefLocationTest.php
index 89fcbf56db..c9cb52dc8c 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->length);
+ self::assertEquals(1, $select_nodes->count());
$option_nodes = $select_nodes[0]->getElementsByTagName('option');
- self::assertEquals(1, $option_nodes->length);
+ self::assertEquals(1, $option_nodes->count());
}
/**