summaryrefslogtreecommitdiff
path: root/perl/t/acl.t
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-01-23 19:17:09 +0000
committerRuss Allbery <rra@stanford.edu>2008-01-23 19:17:09 +0000
commit45e33ff74717f39c421091f1a74f7d895e38bf57 (patch)
treeb2d6e6e2ce21612eae18ecde213e372787e58711 /perl/t/acl.t
parent77b6875f95aa54fe9c648ba114e06d85cf655bb1 (diff)
Add a destroy() method to the Wallet::Admin object and use that instead
of Wallet::Schema::drop in the test suite.
Diffstat (limited to 'perl/t/acl.t')
-rwxr-xr-xperl/t/acl.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl/t/acl.t b/perl/t/acl.t
index 15796d2..59e1071 100755
--- a/perl/t/acl.t
+++ b/perl/t/acl.t
@@ -227,6 +227,5 @@ is ($acl->name, 'example', ' and the right name');
is ($acl->id, 3, ' and a new ID');
# Clean up.
-my $schema = Wallet::Schema->new;
-$schema->drop ($dbh);
+$setup->destroy;
unlink 'wallet-db';