From 4f7d77406d71bc7af919adb20bc42ea7e861e3c9 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 24 Feb 2023 14:40:33 +0100 Subject: [PATCH] Fix SystemTagManagerTest#createTag test Signed-off-by: Marcel Klehr --- tests/lib/SystemTag/SystemTagManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/SystemTag/SystemTagManagerTest.php b/tests/lib/SystemTag/SystemTagManagerTest.php index c1f4ce83ee5..e261a68aaf7 100644 --- a/tests/lib/SystemTag/SystemTagManagerTest.php +++ b/tests/lib/SystemTag/SystemTagManagerTest.php @@ -261,7 +261,7 @@ class SystemTagManagerTest extends TestCase { public function testCreateOverlongName() { $tag = $this->tagManager->createTag('Zona circundante do Palácio Nacional da Ajuda (Jardim das Damas, Salão de Física, Torre Sineira, Paço Velho e Jardim Botânico)', true, true); - $this->assertSame('Zona circundante do Palácio Nacional da Ajuda (Jardim das Damas,', $tag->getName()); + $this->assertSame('Zona circundante do Palácio Nacional da Ajuda (Jardim das Damas', $tag->getName()); // 63 characters but 64 bytes due to "á" } /** -- 2.39.5