Skip to content

Commit

Permalink
Update User.t test to handle the removal of group 14, Product Managers.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Sep 29, 2010
1 parent 613ef69 commit 56ce894
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/User.t
Expand Up @@ -22,7 +22,7 @@ use WebGUI::User;
use WebGUI::ProfileField;
use WebGUI::Shop::AddressBook;

use Test::More tests => 226; # increment this value for each test you create
use Test::More tests => 225; # increment this value for each test you create
use Test::Deep;
use Data::Dumper;

Expand Down Expand Up @@ -422,7 +422,6 @@ ok($user->isInGroup(3), "addToGroups: New user is in group 3(Admin)");
ok($user->isInGroup(11), "New user is in group 11(Secondary Admins)");
ok($user->isInGroup(12), "New user is in group 12(Turn On Admin)");
ok($user->isInGroup(13), "New user is in group 13(Export Managers)");
ok($user->isInGroup(14), "New user is in group 14(Product Managers)");

$user->deleteFromGroups([3]);
ok(!$user->isInGroup(3), "deleteFromGroups: New user is not in group 3(Admin)");
Expand Down

0 comments on commit 56ce894

Please sign in to comment.