diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2023-10-01 20:39:56 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2023-10-04 00:04:15 +0100 |
| commit | a26ec5ede3c2ecdb45b783755ede967935aaecba (patch) | |
| tree | 817d6af978a82882a9917be41e089d65a7912c43 /tests/app/Elements/XrefLocationTest.php | |
| parent | 6f3a4c3c03fa8481d67a2fd8f1e8be3e64e9691a (diff) | |
| download | webtrees-a26ec5ede3c2ecdb45b783755ede967935aaecba.tar.gz webtrees-a26ec5ede3c2ecdb45b783755ede967935aaecba.tar.bz2 webtrees-a26ec5ede3c2ecdb45b783755ede967935aaecba.zip | |
Fix broken tests
Diffstat (limited to 'tests/app/Elements/XrefLocationTest.php')
| -rw-r--r-- | tests/app/Elements/XrefLocationTest.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/app/Elements/XrefLocationTest.php b/tests/app/Elements/XrefLocationTest.php index b6a7c62326..124a47f894 100644 --- a/tests/app/Elements/XrefLocationTest.php +++ b/tests/app/Elements/XrefLocationTest.php @@ -36,9 +36,6 @@ use Psr\Http\Message\ServerRequestInterface; */ class XrefLocationTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefLocation(''); @@ -68,9 +65,6 @@ class XrefLocationTest extends TestCase self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefLocation(''); @@ -78,9 +72,6 @@ class XrefLocationTest extends TestCase self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefLocation(''); @@ -109,9 +100,6 @@ class XrefLocationTest extends TestCase self::assertSame('<a href="https://url">Full Name</a>', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefLocation(''); @@ -121,9 +109,6 @@ class XrefLocationTest extends TestCase self::assertSame('<span class="error">invalid</span>', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefLocation(''); |
