summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
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 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);