aboutsummaryrefslogtreecommitdiff
path: root/perl/t/duo.t
diff options
context:
space:
mode:
Diffstat (limited to 'perl/t/duo.t')
-rwxr-xr-xperl/t/duo.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/t/duo.t b/perl/t/duo.t
index 12fee3a..4229afe 100755
--- a/perl/t/duo.t
+++ b/perl/t/duo.t
@@ -149,9 +149,9 @@ TODO: {
# Clean up.
$admin->destroy;
-undef $admin;
-undef $object;
-unlink ('wallet-db');
+END {
+ unlink ('wallet-db');
+}
# Done testing.
done_testing ();