summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-10 23:17:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-10 23:17:22 +0200
commit7364b442de59d03f91c0eeb48cbf3cd59c7ed6c3 (patch)
treebc62fa01dcd7427cfcedd193c64e5d12230eea19 /t
parentdf1405cde3bff7a36e86685287d54052a9779f5a (diff)
downloadApp-BorgRestore-7364b442de59d03f91c0eeb48cbf3cd59c7ed6c3.tar.gz
App-BorgRestore-7364b442de59d03f91c0eeb48cbf3cd59c7ed6c3.tar.xz
t/02_parsing: Fix too many arguments to _handle_added_archives
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 't')
-rw-r--r--t/02_parsing.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02_parsing.t b/t/02_parsing.t
index b8e2d64..bfa5e12 100644
--- a/t/02_parsing.t
+++ b/t/02_parsing.t
@@ -28,7 +28,7 @@ $borg->mock('list_archive', sub {
# Call the actual function we want to test
my $app = App::BorgRestore->new({borg => $borg, db => $db});
-$app->_handle_added_archives(['archive-1'], $db);
+$app->_handle_added_archives(['archive-1']);
# Check if $db->add_path has been called properly
my (@calls, @a);