diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2024-11-29 22:20:23 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2024-11-29 22:20:23 +0000 |
| commit | ca7e3cf44f5489b58dba303f3dfd6272f54125b1 (patch) | |
| tree | 4e40e4bb4f5d7744212f7620496b8ba0da1a34ed /tests | |
| parent | bda3570660a21ba8619b0446ae5b209a6bdaa50a (diff) | |
| download | webtrees-ca7e3cf44f5489b58dba303f3dfd6272f54125b1.tar.gz webtrees-ca7e3cf44f5489b58dba303f3dfd6272f54125b1.tar.bz2 webtrees-ca7e3cf44f5489b58dba303f3dfd6272f54125b1.zip | |
Fix: #5053 - wrong canonical formatting for PLAC:FORM
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/app/Elements/PlaceHierarchyTest.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/app/Elements/PlaceHierarchyTest.php b/tests/app/Elements/PlaceHierarchyTest.php index 2e84d8c391..095cfee017 100644 --- a/tests/app/Elements/PlaceHierarchyTest.php +++ b/tests/app/Elements/PlaceHierarchyTest.php @@ -37,9 +37,7 @@ class PlaceHierarchyTest extends AbstractElementTestCase public function testCanonical(): void { - self::assertSame('Foo, bAr, baZ', self::$element->canonical('Foo bAr baZ')); - self::assertSame('Foo, bAr, baZ', self::$element->canonical("\t Foo\t bAr \tbaZ\t ")); - self::assertSame('Foo, bAr, baZ', self::$element->canonical("\nFoo \n\r bAr \r\n baZ\r")); self::assertSame('Foo, Bar, Baz', self::$element->canonical(',,Foo,Bar , , Baz, ')); + self::assertSame('City State, Country or Territory', self::$element->canonical(' City State,, Country or Territory,')); } } |
