summaryrefslogtreecommitdiff
path: root/perl/t/object.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/object.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/object.t')
-rwxr-xr-xperl/t/object.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl/t/object.t b/perl/t/object.t
index 48604bc..94fe22b 100755
--- a/perl/t/object.t
+++ b/perl/t/object.t
@@ -320,6 +320,5 @@ EOO
is ($object->history, $output, ' and the history is correct');
# Clean up.
-my $schema = Wallet::Schema->new;
-$schema->drop ($dbh);
+$admin->destroy;
unlink 'wallet-db';