summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/03_timespec.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/03_timespec.t b/t/03_timespec.t
index a131512..250ce9f 100644
--- a/t/03_timespec.t
+++ b/t/03_timespec.t
@@ -5,7 +5,7 @@ use Test::More;
use App::BorgRestore;
-my $app = App::BorgRestore->new({}, {borg => 0, db => 0});
+my $app = App::BorgRestore->new_no_defaults({}, undef);
is($app->timespec_to_seconds('5s'), 5, '5 seconds');
is($app->timespec_to_seconds('5minutes'), 5*60, '5 minutes');