From 8b2f7a2e6be4390779856a0b813b2978b269c159 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 16 Dec 2024 14:58:49 +1300 Subject: [PATCH] MNT Fix unit test --- tests/php/GroupSubsitesTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/php/GroupSubsitesTest.php b/tests/php/GroupSubsitesTest.php index 5d1553be..15a2b6ce 100644 --- a/tests/php/GroupSubsitesTest.php +++ b/tests/php/GroupSubsitesTest.php @@ -24,13 +24,13 @@ public function testAlternateTreeTitle() $group = new Group(); $group->Title = 'The A Team'; $group->AccessAllSubsites = true; - $this->assertEquals('The A Team (global group)', $group->getTreeTitle()); + $this->assertEquals('The A Team <i>(global group)</i>', $group->getTreeTitle()); $group->AccessAllSubsites = false; $group->write(); $group->Subsites()->add($this->objFromFixture(Subsite::class, 'domaintest1')); $group->Subsites()->add($this->objFromFixture(Subsite::class, 'domaintest2')); - $this->assertEquals('The A Team (Test 1, Test 2)', $group->getTreeTitle()); + $this->assertEquals('The A Team <i>(Test 1, Test 2)</i>', $group->getTreeTitle()); } }