Subject: | test failures due to inability to find test fixtures |
http://cpantesters.org/cpan/report/78956120-aeb9-11e3-b273-f2158806f0e4
Some tests failed with "resource does not exist" errors:
Error GETing file://.../t/fixtures/txn-export.csv?...: File `.../t/fixtures/txn-export.csv?...' does not exist at .../lib/Finance/Bank/Bankwest/Session.pm line 75.
Error GETing file://.../t/fixtures/acct-balances.html?...: File `.../t/fixtures/acct-balances.html?...' does not exist at .../lib/Finance/Bank/Bankwest/SessionFromLogin.pm line 52.
These errors are triggered by this code in LWP::Protocol::file:
https://metacpan.org/source/MSCHILLI/libwww-perl-6.06/lib/LWP/Protocol/file.pm#L50
It seems that an earlier version of this protocol might have treated the
the query string as part of the filename. This failure doesn't exist in
LWP::Protocol v6.00.
Since the "file" protocol is only used by the tests, the appropriate fix
seems to be to add a test dependency on the minimum version of LWP::
Protocol::file that GETs the fixtures correctly.
Scanning through occurrences of the word "file" and "query" in the
Changes file for libwww-perl didn't assist in finding a version
addressing this issue.
The next best step is probably to contact the person responsible for
running the tests showing this failure, and see whether they can
identify the version of libwww-perl that was running at the time.