From 185fbc402af561165439ddf04e82cf0dab804da7 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 7 Aug 2017 11:12:53 -0400 Subject: [PATCH] offline: add live-test for offline assets Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- Open-ILS/src/perlmods/live_t/24-offline-all-assets.t | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Open-ILS/src/perlmods/live_t/24-offline-all-assets.t diff --git a/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t b/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t new file mode 100644 index 0000000000..334778f69a --- /dev/null +++ b/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t @@ -0,0 +1,7 @@ +#!perl + +use Test::More tests => 1; + +my $command = = 'wget --no-check-certificate -m https://localhost/eg/staff/offline-interface/session 2>&1 |grep -B 2 404|grep https|grep -v robots.txt|wc -l' +is(`$command`, '0', "No missing assets required by the offline interface"); + -- 2.43.2