mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
8ef5e5c0b4
commit
60200f1aa3
@ -47,7 +47,6 @@ class CMSMainTest extends FunctionalTest {
|
|||||||
return;
|
return;
|
||||||
$classes = ClassInfo::subclassesFor("SiteTree");
|
$classes = ClassInfo::subclassesFor("SiteTree");
|
||||||
array_shift($classes);
|
array_shift($classes);
|
||||||
unset($classes['GhostPage']); //Ghost Pages aren't used anymore
|
|
||||||
|
|
||||||
foreach($classes as $class) {
|
foreach($classes as $class) {
|
||||||
$page = new $class();
|
$page = new $class();
|
||||||
@ -73,7 +72,6 @@ class CMSMainTest extends FunctionalTest {
|
|||||||
function testThatGetCMSFieldsWorksOnEveryPageType() {
|
function testThatGetCMSFieldsWorksOnEveryPageType() {
|
||||||
$classes = ClassInfo::subclassesFor("SiteTree");
|
$classes = ClassInfo::subclassesFor("SiteTree");
|
||||||
array_shift($classes);
|
array_shift($classes);
|
||||||
unset($classes['GhostPage']); //Ghost Pages aren't used anymore
|
|
||||||
|
|
||||||
foreach($classes as $class) {
|
foreach($classes as $class) {
|
||||||
$page = new $class();
|
$page = new $class();
|
||||||
|
Loading…
Reference in New Issue
Block a user