Skip to content
Snippets Groups Projects
Commit ccd0c69d authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #47691 fix test case

parent b5dfe49c
Branches
Tags
3 merge requests!1902Master,!1896Master,!1894hotline #47691 add action right schel in Acl by roles
......@@ -300,11 +300,29 @@ Trait MenuGaucheAdminRolesDefinition {
[ZendAfi_Acl_AdminControllerRoles::MODO_PORTAIL,
[
'cms',
'catalogue',
'rss',
'sito',
'external-agendas',
'modo',
'modo/membreview',
'newsletter',
'formation',
'lieu',
'bibnum',
'album',
'album/add-website',
'oai',
'import_ead',
'frbr-link',
'profil',
'print/index',
'profil/genres',
'stat/rechercheinfructueuse',
'bib',
'users',
'usergroup',
'zone'
] ],
[ZendAfi_Acl_AdminControllerRoles::ADMIN_BIB,
......@@ -334,13 +352,12 @@ Trait MenuGaucheAdminRolesDefinition {
'usergroup'
] ],
[ZendAfi_Acl_AdminControllerRoles::MODO_PORTAIL,
[ZendAfi_Acl_AdminControllerRoles::MODO_BIB,
[
'cms',
'sito',
'modo',
'modo/membreview',
'newsletter',
'stat/rechercheinfructueuse',
] ]
];
......@@ -348,6 +365,7 @@ Trait MenuGaucheAdminRolesDefinition {
}
class ZendAfi_View_Helper_Admin_MenuGaucheAdminRightsTest extends ViewHelperTestCase {
use MenuGaucheAdminRolesDefinition;
protected $_storm_default_to_volatile = true;
......@@ -383,7 +401,6 @@ class ZendAfi_View_Helper_Admin_MenuGaucheAdminRightsTest extends ViewHelperTest
}
/**
* @dataProvider pagesByRole
* @test
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment