Add cleanup code for newly added tests for canAdd being called as a method.
This commit is contained in:
parent
a3ff0fb7a5
commit
44f62c9884
1 changed files with 1 additions and 1 deletions
|
|
@ -1219,7 +1219,7 @@ subtest 'canAdd tolerates being called as an object method', sub {
|
|||
|
||||
# Make a test user who's just in Turn Admin On
|
||||
my $u = WebGUI::User->create($session);
|
||||
WebGUI::Test->addToCleanup($u);
|
||||
WebGUI::Test->addToCleanup($u, $snip);
|
||||
$u->addToGroups(['12']);
|
||||
$session->user({ user => $u });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue