mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix assertions
This commit is contained in:
parent
522af3f29d
commit
99f9d4a2d3
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user