diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-01 20:23:16 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-01 20:23:16 +0200 |
commit | b83c55e97fa95713f66198c42577c284036ecefa (patch) | |
tree | 589346f372d83ada4d56e278292a4d708e0e1e65 /t/02_parsing.t | |
parent | 4d1540fe2acabc69ff5426e28a3b45762318de5d (diff) | |
download | App-BorgRestore-b83c55e97fa95713f66198c42577c284036ecefa.tar.gz App-BorgRestore-b83c55e97fa95713f66198c42577c284036ecefa.tar.xz |
Do not pass $opts to main class
The only reason this was done, was for the debug output. This no longer
requires large amounts of memory or time (simple count(*) in the db
now) so this is no longer necessary.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 't/02_parsing.t')
-rw-r--r-- | t/02_parsing.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02_parsing.t b/t/02_parsing.t index 9ff0a5c..8f3bcfb 100644 --- a/t/02_parsing.t +++ b/t/02_parsing.t @@ -27,7 +27,7 @@ $borg->mock('list_archive', sub { } ); # Call the actual function we want to test -my $app = App::BorgRestore->new({}, {borg => $borg, db => $db}); +my $app = App::BorgRestore->new({borg => $borg, db => $db}); $app->handle_added_archives(['archive-1'], $db); # Check if $db->add_path has been called properly |