From 5e3afd0640f31e894153e43b3e6d5443af3d7767 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 52411371..ad7c1785 100644 --- a/tests/php/Model/SiteTreePermissionsTest.php +++ b/tests/php/Model/SiteTreePermissionsTest.php @@ -154,7 +154,7 @@ class SiteTreePermissionsTest extends FunctionalTest $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');