diff options
author | Russ Allbery <rra@stanford.edu> | 2008-01-23 19:17:09 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-01-23 19:17:09 +0000 |
commit | 45e33ff74717f39c421091f1a74f7d895e38bf57 (patch) | |
tree | b2d6e6e2ce21612eae18ecde213e372787e58711 /perl/t/acl.t | |
parent | 77b6875f95aa54fe9c648ba114e06d85cf655bb1 (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-x | perl/t/acl.t | 3 |
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'; |