mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
a63bc595ff
commit
66eb9d190f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user