Bug 24673 (18.11.x U18 follow-up): Fixing t/db_dependent/Koha/XSLT/Security.t
authorHayley Mapley <hayleymapley@catalyst.net.nz>
Tue, 14 Apr 2020 04:00:40 +0000 (16:00 +1200)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Tue, 14 Apr 2020 04:00:40 +0000 (16:00 +1200)
commitd0facd2b73c095bbd4a386ca8b1f271cb1911c8f
tree000d23c846c27bfc1c604a3634af0f68b3939a77
parent9e593de322b6602eeb549f651ad4273e9f0d4044
Bug 24673 (18.11.x U18 follow-up): Fixing t/db_dependent/Koha/XSLT/Security.t

The test t/db_dependent/Koha/XSLT/Security.t failed on Jenkins for U18
when this bug's patches were backported, due to it returning a different
IO error message for XSLT.

This patch adds a condition to the regex which matches both messages:
'Failed to load external entity' and 'Failed to load HTTP resource'

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
t/db_dependent/Koha/XSLT/Security.t