BUGFIX: Removed obsolete test.

This commit is contained in:
Sam Minnee 2011-03-30 18:00:55 +13:00
parent cd02c5502a
commit 7cdbbd487f

View File

@ -389,11 +389,6 @@ class SiteTreeTest extends SapphireTest {
$parentPage->doDeleteFromLive();
Versioned::reading_stage('Live');
// Confirm that none of the given pages exist
$this->assertEquals(array(), DataObject::get("Page")
->byIDs(array($pageAbout->ID, $pageStaff->ID, $pageStaffDuplicate->ID))
->column('URLSegment'));
$this->assertFalse(DataObject::get_by_id('Page', $pageAbout->ID));
$this->assertTrue(DataObject::get_by_id('Page', $pageStaff->ID) instanceof Page);