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:
Ingo Schommer 2010-12-13 05:09:41 +00:00
parent e6ad58a006
commit 8f4b816c1f

View File

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