From 0ef292d381c349cbc47686eaccc37551c941de9e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 28 Sep 2010 21:07:46 -0700 Subject: [PATCH] Update User.t test to handle the removal of group 14, Product Managers. --- t/User.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/User.t b/t/User.t index e7aa39d19..b43c2a3c7 100644 --- a/t/User.t +++ b/t/User.t @@ -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; @@ -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)");