offline: add live-test for offline assets
authorMike Rylander <mrylander@gmail.com>
Mon, 7 Aug 2017 15:12:53 +0000 (11:12 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 30 Aug 2017 13:52:06 +0000 (09:52 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/live_t/24-offline-all-assets.t [new file with mode: 0644]

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 (file)
index 0000000..334778f
--- /dev/null
@@ -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");
+