mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Removed obsolete test.
This commit is contained in:
parent
f2ed229be4
commit
7a2097dbd0
@ -390,11 +390,6 @@ class SiteTreeTest extends SapphireTest {
|
|||||||
|
|
||||||
Versioned::reading_stage('Live');
|
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->assertFalse(DataObject::get_by_id('Page', $pageAbout->ID));
|
||||||
$this->assertTrue(DataObject::get_by_id('Page', $pageStaff->ID) instanceof Page);
|
$this->assertTrue(DataObject::get_by_id('Page', $pageStaff->ID) instanceof Page);
|
||||||
$this->assertTrue(DataObject::get_by_id('Page', $pageStaffDuplicate->ID) instanceof Page);
|
$this->assertTrue(DataObject::get_by_id('Page', $pageStaffDuplicate->ID) instanceof Page);
|
||||||
|
Loading…
Reference in New Issue
Block a user