X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=t%2Fmenu%2Fparse_access_string.t;h=521269995c9e4cd38c3659779f3acd8facf67e3a;hb=6be10c6a62e8e99aed3a4147ecbb0053faa8fcba;hp=fd6e790aebca68cb5c8d0f1cc2306a36a95e1c82;hpb=471d166b4b6a7214d8df6ca8882a8f1a98709634;p=kivitendo-erp.git diff --git a/t/menu/parse_access_string.t b/t/menu/parse_access_string.t index fd6e790ae..521269995 100644 --- a/t/menu/parse_access_string.t +++ b/t/menu/parse_access_string.t @@ -54,7 +54,7 @@ ok($menu->parse_access_string(\%node), 'parenthesis 1'); $node{access} = '(no_such_right & sales_order_edit | (no_such_right & sales_order_edit))'; ok(!$menu->parse_access_string(\%node), 'parenthesis 2'); -$node{access} = 'sales_quotation_edit & client/feature_experimental'; +$node{access} = 'sales_quotation_edit & client/feature_experimental_order'; ok($menu->parse_access_string(\%node), 'client'); $node{access} = '!no_such_right'; @@ -72,7 +72,7 @@ ok($menu->parse_access_string(\%node), 'parenthesis with negation 1'); $node{access} = '(no_such_right & sales_order_edit | (!no_such_right | !sales_order_edit))'; ok($menu->parse_access_string(\%node), 'parenthesis with negation 2'); -$node{access} = 'sales_quotation_edit & !client/feature_experimental'; +$node{access} = 'sales_quotation_edit & !client/feature_experimental_order'; ok(!$menu->parse_access_string(\%node), 'client negation'); done_testing;