diff --git a/tests/model/SiteTreeTest.php b/tests/model/SiteTreeTest.php index ea16eec7..d68487dc 100644 --- a/tests/model/SiteTreeTest.php +++ b/tests/model/SiteTreeTest.php @@ -464,8 +464,8 @@ class SiteTreeTest extends SapphireTest $pageAbout->delete(); $this->assertNull(DataObject::get_by_id('Page', $pageAbout->ID)); - $this->assertFalse(DataObject::get_by_id('Page', $pageStaff->ID)); - $this->assertFalse(DataObject::get_by_id('Page', $pageStaffDuplicate->ID)); + $this->assertNull(DataObject::get_by_id('Page', $pageStaff->ID)); + $this->assertNull(DataObject::get_by_id('Page', $pageStaffDuplicate->ID)); } public function testDuplicate()