From 7364b442de59d03f91c0eeb48cbf3cd59c7ed6c3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 10 Apr 2017 23:17:22 +0200 Subject: t/02_parsing: Fix too many arguments to _handle_added_archives Signed-off-by: Florian Pritz --- t/02_parsing.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-24-g4f1b