Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dbeba4e7

Von Niklas Schmidt vor 3 Monaten hinzugefügt

  • ID dbeba4e71b408b16c7d863b31f4a4de1a261db97
  • Vorgänger 2a1f85f4
  • Nachfolger f92d73ce

tests: t/menu/parse_access_string.t feature_experimental_order entfernt

Unterschiede anzeigen:

t/menu/parse_access_string.t
$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_order';
ok($menu->parse_access_string(\%node), 'client');
$node{access} = '!no_such_right';
ok($menu->parse_access_string(\%node), 'simple 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_order';
ok(!$menu->parse_access_string(\%node), 'client negation');
done_testing;
1;

Auch abrufbar als: Unified diff