Another batch of clean-ups for users and groups.

This commit is contained in:
Colin Kuskie 2009-05-01 02:48:18 +00:00
parent c60237443c
commit 39607fc208
6 changed files with 16 additions and 30 deletions

View file

@ -50,6 +50,7 @@ $editor->username('editor');
my $reader = WebGUI::User->new($session, 'new');
$reader->username('reader');
$staff->addUsers([$reporter->userId]);
WebGUI::Test->usersToDelete($reporter, $editor, $reader);
my $archive = 'placeholder for Test::Maker::Permission';
@ -616,9 +617,6 @@ END {
if ($versionTag) {
$versionTag->rollback;
}
foreach my $user ($editor, $reporter, $reader) {
$user->delete if defined $user;
}
$creationDateSth->finish;
}