Reverted r77384

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77386 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-20 06:59:02 +00:00 committed by Sam Minnee
parent a63bc595ff
commit 66eb9d190f

View File

@ -42,6 +42,7 @@ 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();
@ -67,6 +68,7 @@ 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();