From 0b03fdda963c07c290fbd7042ec6b4b25fb6af68 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 10 Oct 2024 16:56:50 +1300 Subject: [PATCH] MNT Fix unit test --- tests/php/Model/SiteTreePermissionsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php/Model/SiteTreePermissionsTest.php b/tests/php/Model/SiteTreePermissionsTest.php index 5241137182..ad7c17850c 100644 --- a/tests/php/Model/SiteTreePermissionsTest.php +++ b/tests/php/Model/SiteTreePermissionsTest.php @@ -154,7 +154,7 @@ public function testCanViewStage() $page->publishSingle(); // Then make sure there's a new version on Stage - $page->Title = 1; + $page->Title = '1'; $page->write(); $editor = $this->objFromFixture(Member::class, 'editor');