Correct False Positive on Offline Test user/jboyer/fix-offline-test
authorJason Boyer <JBoyer@library.in.gov>
Fri, 28 Jun 2019 11:42:40 +0000 (07:42 -0400)
committerJason Boyer <JBoyer@library.in.gov>
Fri, 28 Jun 2019 11:42:40 +0000 (07:42 -0400)
commit737a73d7fee2776e2929dc0ac3c5dbaaec68350f
treeaa11377827e8eccb3844a52b4afeb4a2d39c07f6
parentffcde0b99035f4afee7e527becdf1aa913af6d70
Correct False Positive on Offline Test

Now that we have filenames with hashes in them
the likelyhood of finding the numbers 4, 0, and 4
not as an http status are much higher, leading to
a false negative on tests that look at the http
status code. Looking for the string ' 404 ' narrows
the search to actual 404 errors (at least until we
have a file that's exactly 404 bytes long in the
offline interface).

Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Open-ILS/src/perlmods/live_t/24-offline-all-assets.t