Test clean-up for users and groups in Shop/Vendor and all Macro tests.
This commit is contained in:
parent
9973e203ab
commit
d7f2aca1e4
4 changed files with 6 additions and 12 deletions
|
|
@ -45,6 +45,7 @@ my $fenceUser = WebGUI::User->new($session, 'new');
|
|||
$fenceUser->username('fence');
|
||||
my $guardUser = WebGUI::User->new($session, 'new');
|
||||
$guardUser->username('guard');
|
||||
WebGUI::Test->usersToDelete($fenceUser, $guardUser);
|
||||
|
||||
SKIP: {
|
||||
|
||||
|
|
@ -312,7 +313,5 @@ undef $guard;
|
|||
# Cleanup
|
||||
END {
|
||||
$fence->delete;
|
||||
$fenceUser->delete;
|
||||
$guardUser->delete;
|
||||
is( scalar @{ WebGUI::Shop::Vendor->getVendors($session) }, $numberOfVendors, 'No vendors leaked');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue