Subject: | t/20-location-forecast.t started to fail |
t/20-location-forecast.t started to fail on my smokers:
...
Failed to validate the XML returned from YR.no using schema URL 'http://api.met.no/weatherapi/locationforecast/1.9/schema'; http error : Unknown IO error
Schemas parser error : Failed to locate the main schema resource at 'http://api.met.no/weatherapi/locationforecast/1.9/schema'.
No XML to generate forecast from! at /home/cpansand/.cpan/build/2018022421/Weather-YR-0.38-GJ59VT/blib/lib/Weather/YR/LocationForecast.pm line 234, <DATA> line 2231.
# Failed test 'Number of data points is OK.'
# at t/20-location-forecast.t line 25.
# got: '0'
# expected: '83'
Attribute (today) does not pass the type constraint because: Validation failed for 'Weather::YR::LocationForecast::Day' with value undef at reader Weather::YR::LocationForecast::today (defined at /home/cpansand/.cpan/build/2018022421/Weather-YR-0.38-GJ59VT/blib/lib/Weather/YR/LocationForecast.pm line 46) line 15
Weather::YR::LocationForecast::today('Weather::YR::LocationForecast=HASH(0x41ce8870)') called at t/20-location-forecast.t line 26
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/20-location-forecast.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
...
Looking at the first URL there's now a forced redirect to https, which maybe is not handled by the module properly.