fix a test that leaks a user and casues t/Macro/SQL.t to fail if they are called in the correct order

This commit is contained in:
Colin Kuskie 2007-05-30 21:43:25 +00:00
parent 261cd940c7
commit 6dd91ea8f4

View file

@ -282,7 +282,7 @@ sub installBadLocale {
END {
unlink File::Spec->catfile(WebGUI::Test->lib, qw/WebGUI i18n BadLocale.pm/);
foreach my $account ($buster, $dude) {
foreach my $account ($buster, $dude, $bud) {
(defined $account and ref $account eq 'WebGUI::User') and $account->delete;
}
}