Skip to content

Removed the 'not-so-forecast' measure #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Clpsplug
Copy link
Contributor

@Clpsplug Clpsplug commented Apr 17, 2018

This is a PR for #121. This removes the 'not-so-forecast' measure in \Cmfcmf\OpenWeatherMap\WeatherForecast.
In summary, when we fixed #119, I believe that the 'not-so-forecast' problem fixed by #64 may have been gone because the code used to remove such forecasts involved a timezone-related issue.

Currently, this PR breaks 2 assertions in WeatherForecastTest because these run under the assumption of the measure being present. If we can be sure that the 'not-so-forecasts' aren't there in the first place, we can modify the test as well.
If the measure is found to be necessary, I'll close this PR.

@cmfcmf cmfcmf merged commit 92edee8 into cmfcmf:master May 9, 2018
@cmfcmf
Copy link
Owner

cmfcmf commented May 9, 2018

I've adjusted the Forecast tests to match the new behaviour. The other tests fail, because http://httpbin.org/html is currently not reachable.

@Clpsplug Clpsplug deleted the clpsplug/remove_not_so_forecast_measure branch February 6, 2019 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timezone specifications are missing in some instances
2 participants