Fix assertions

This commit is contained in:
Damian Mooyman 2017-06-30 14:23:37 +12:00
parent 522af3f29d
commit 99f9d4a2d3
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

@ -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()