mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Removed obsolete test.
This commit is contained in:
parent
f2ed229be4
commit
7a2097dbd0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user