MINOR Removed unsetting of GhostPage from CMSMainTest - these are deleted in r77383

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77389 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-20 07:09:54 +00:00
parent 8ef5e5c0b4
commit 60200f1aa3

View File

@ -47,7 +47,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();
@ -73,7 +72,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();