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
Test case testDistance fails #3
Comments
I'm getting exactly the same: Equal expectation fails with member [1] because [Float: -82.4736] differs from [Float: -82.4735] by 0.00010000000000332 at [C:\wamp\www\Users\app\plugins\geocode\tests\cases\behaviors\geocodable.test.php line 144] How did u fixed it Ron-Ralmeida? Thanks! |
I did not even mess with it again, was more making them aware of the issue |
It seems that the testDistance test expectation was incorrect. We investigated and ended up modifying it. |
Fixes issue #3 (testDistance fail because 9 != 3.4)
I downloaded your plugin today, and ran the tests, at 1st I did not have my API key in, but once in the "testDistance" was not passing.
tests/cases/behaviors/geocodable.test.php -> GeocodableBehaviorTest -> testDistance
Equal expectation fails because [Float: 9] differs from [Float: 3.4] by 5.6
Is this an error or a bad test case?
Thanks,
Ron
The text was updated successfully, but these errors were encountered: