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');