BUGFIX: Removed obsolete test.

This commit is contained in:
Sam Minnee 2011-03-30 18:00:55 +13:00 committed by Ingo Schommer
parent f2ed229be4
commit 7a2097dbd0

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);