Skip to content

Commit

Permalink
Fix assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Jun 30, 2017
1 parent 522af3f commit 99f9d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/model/SiteTreeTest.php
Expand Up @@ -464,8 +464,8 @@ public function testDeleteFromStageOperatesRecursivelyStrict()
$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()
Expand Down

0 comments on commit 99f9d4a

Please sign in to comment.