Need an asset in order to check canAdd
This commit is contained in:
parent
d3d0e03368
commit
e4445a2e2b
1 changed files with 1 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ plan tests => $canAddMaker->plan
|
|||
|
||||
$session->config->set('assets/WebGUI::Asset/addGroup', $testGroups{'canAdd asset'}->getId );
|
||||
|
||||
$session->asset(WebGUI::Asset->getDefault($session));
|
||||
$canAddMaker->run;
|
||||
|
||||
#Without proper group setup, Turn On Admin is excluded from adding assets via assetAddPrivilege
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue