summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-09-08 15:53:15 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-09-08 15:53:15 +0200
commitee6184eb7979ab273119e1444b7856819a36f060 (patch)
treebd348fd0d67e0fcdae1995c93dc1a7e71c473484 /t
parent883908de23d82bd4de856dd7aa4865b0f71a6642 (diff)
downloadApp-BorgRestore-ee6184eb7979ab273119e1444b7856819a36f060.tar.gz
App-BorgRestore-ee6184eb7979ab273119e1444b7856819a36f060.tar.xz
Add TAP log adapter to all tests
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 't')
-rw-r--r--t/cache_contains_data.t1
-rw-r--r--t/find_archives.t1
-rw-r--r--t/find_archives_mocked.t1
-rw-r--r--t/handle_added_archives.t1
-rw-r--r--t/handle_added_archives_with_db.t1
-rw-r--r--t/helper/untaint.t1
-rw-r--r--t/search_path.t2
-rw-r--r--t/timespec_to_seconds.t1
8 files changed, 8 insertions, 1 deletions
diff --git a/t/cache_contains_data.t b/t/cache_contains_data.t
index 2187ab0..48832f4 100644
--- a/t/cache_contains_data.t
+++ b/t/cache_contains_data.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use Test::More;
use Test::MockObject;
use Test::Differences;
diff --git a/t/find_archives.t b/t/find_archives.t
index 7b1fc0f..e49cc2f 100644
--- a/t/find_archives.t
+++ b/t/find_archives.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use Test::More;
use Test::MockObject;
use Test::Differences;
diff --git a/t/find_archives_mocked.t b/t/find_archives_mocked.t
index 7f0186a..a50c308 100644
--- a/t/find_archives_mocked.t
+++ b/t/find_archives_mocked.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use Test::More;
use Test::MockObject;
use Test::Differences;
diff --git a/t/handle_added_archives.t b/t/handle_added_archives.t
index c2b8e78..01f8663 100644
--- a/t/handle_added_archives.t
+++ b/t/handle_added_archives.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use POSIX qw(tzset);
use Test::Differences;
use Test::MockObject;
diff --git a/t/handle_added_archives_with_db.t b/t/handle_added_archives_with_db.t
index a59084c..677953e 100644
--- a/t/handle_added_archives_with_db.t
+++ b/t/handle_added_archives_with_db.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use POSIX qw(tzset);
use Test::Differences;
use Test::MockObject;
diff --git a/t/helper/untaint.t b/t/helper/untaint.t
index f9d8a9c..73b2c2b 100644
--- a/t/helper/untaint.t
+++ b/t/helper/untaint.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use Test::More;
use Test::Exception;
diff --git a/t/search_path.t b/t/search_path.t
index ef6901c..247b57f 100644
--- a/t/search_path.t
+++ b/t/search_path.t
@@ -1,13 +1,13 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use Test::More;
use Test::MockObject;
use Test::Differences;
use App::BorgRestore;
use App::BorgRestore::DB;
-use Log::Any::Adapter ('TAP');
my $db = App::BorgRestore::DB->new(":memory:", 0);
my $app = App::BorgRestore->new_no_defaults({db => $db});
diff --git a/t/timespec_to_seconds.t b/t/timespec_to_seconds.t
index 0f367c9..3724682 100644
--- a/t/timespec_to_seconds.t
+++ b/t/timespec_to_seconds.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
+use Log::Any::Adapter ('TAP');
use Test::More;
use App::BorgRestore;