From 9ceaba5d70e982d865c39940156237ebd55b3f1e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 4 Mar 2017 11:18:35 +0100 Subject: Add new_no_defaults constructor for test suite Signed-off-by: Florian Pritz --- t/03_timespec.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') 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'); -- cgit v1.2.3-24-g4f1b