From 60ff36ea47d226a953fab54da0a27075ed3abb2f Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 20 May 2009 06:45:45 +0000 Subject: [PATCH] MINOR Removed cases where GhostPage was being unset from the tests git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77384 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/CMSMainTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/CMSMainTest.php b/tests/CMSMainTest.php index 978ba205..292ec173 100644 --- a/tests/CMSMainTest.php +++ b/tests/CMSMainTest.php @@ -42,7 +42,6 @@ class CMSMainTest extends FunctionalTest { return; $classes = ClassInfo::subclassesFor("SiteTree"); array_shift($classes); - unset($classes['GhostPage']); //Ghost Pages aren't used anymore foreach($classes as $class) { $page = new $class(); @@ -68,7 +67,6 @@ class CMSMainTest extends FunctionalTest { function testThatGetCMSFieldsWorksOnEveryPageType() { $classes = ClassInfo::subclassesFor("SiteTree"); array_shift($classes); - unset($classes['GhostPage']); //Ghost Pages aren't used anymore foreach($classes as $class) { $page = new $class();