From 7a2097dbd05a1255662243444b4ecf4940292368 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 30 Mar 2011 18:00:55 +1300 Subject: [PATCH] BUGFIX: Removed obsolete test. --- tests/model/SiteTreeTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/model/SiteTreeTest.php b/tests/model/SiteTreeTest.php index e0264c25..a06d8be2 100644 --- a/tests/model/SiteTreeTest.php +++ b/tests/model/SiteTreeTest.php @@ -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);