summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-03-13 11:12:59 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-03-13 11:12:59 +0100
commitfb15de83cf35d11f657ebb1ad3aa01b334651264 (patch)
treef9372dbf91f3ae52cf1ab0a2f0252459a7437393
parentc7d5a7e840bf0fe5e3bb126247d5e3e1dcb982bc (diff)
downloadApp-BorgRestore-fb15de83cf35d11f657ebb1ad3aa01b334651264.tar.gz
App-BorgRestore-fb15de83cf35d11f657ebb1ad3aa01b334651264.tar.xz
Fix 02_parsing.t
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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);