summaryrefslogtreecommitdiffstats
path: root/t/handle_added_archives.t
diff options
context:
space:
mode:
Diffstat (limited to 't/handle_added_archives.t')
-rw-r--r--t/handle_added_archives.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/handle_added_archives.t b/t/handle_added_archives.t
index 01f8663..d29c52a 100644
--- a/t/handle_added_archives.t
+++ b/t/handle_added_archives.t
@@ -32,7 +32,7 @@ $borg->mock('list_archive', sub {
} );
# Call the actual function we want to test
-my $app = App::BorgRestore->new({borg => $borg, db => $db});
+my $app = App::BorgRestore->new_no_defaults({borg => $borg, db => $db}, {cache => {prepare_data_in_memory => 1}});
$app->_handle_added_archives(['archive-1']);
# Check if $db->add_path has been called properly