mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Removed CommentAdmin from assertions in LeftAndMainTest (functionality moved into module)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114881 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e6ad58a006
commit
8f4b816c1f
@ -87,7 +87,7 @@ class LeftAndMainTest extends FunctionalTest {
|
|||||||
// all cms sections user
|
// all cms sections user
|
||||||
$this->session()->inst_set('loggedInAs', $allcmssectionsuser->ID);
|
$this->session()->inst_set('loggedInAs', $allcmssectionsuser->ID);
|
||||||
$menuItems = singleton('LeftAndMain')->MainMenu();
|
$menuItems = singleton('LeftAndMain')->MainMenu();
|
||||||
$requiredSections = array('CMSMain','AssetAdmin','CommentAdmin','SecurityAdmin','Help');
|
$requiredSections = array('CMSMain','AssetAdmin','SecurityAdmin','Help');
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
array_diff($requiredSections, $menuItems->column('Code')),
|
array_diff($requiredSections, $menuItems->column('Code')),
|
||||||
array(),
|
array(),
|
||||||
|
Loading…
Reference in New Issue
Block a user