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
This commit is contained in:
Sean Harvey 2009-05-20 06:45:45 +00:00 committed by Sam Minnee
parent 435dea0c76
commit 60ff36ea47

View File

@ -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();