diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-03-04 11:18:35 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-03-04 11:18:35 +0100 |
commit | 9ceaba5d70e982d865c39940156237ebd55b3f1e (patch) | |
tree | 2cdabc317dee2e8fa20c84d1f8a08a77264c5c82 /t | |
parent | d19c50977b10e379418e879acb7b6b5463081729 (diff) | |
download | App-BorgRestore-9ceaba5d70e982d865c39940156237ebd55b3f1e.tar.gz App-BorgRestore-9ceaba5d70e982d865c39940156237ebd55b3f1e.tar.xz |
Add new_no_defaults constructor for test suite
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 't')
-rw-r--r-- | t/03_timespec.t | 2 |
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'); |