From fb15de83cf35d11f657ebb1ad3aa01b334651264 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 13 Mar 2017 11:12:59 +0100 Subject: Fix 02_parsing.t 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 3f1f385..9ff0a5c 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($db, ['archive-1']); +$app->handle_added_archives(['archive-1'], $db); # Check if $db->add_path has been called properly my (@calls, @a); -- cgit v1.2.3-24-g4f1b