francescotrucchia/GeoAdapter — pull request #2 by ronanguilloux (2012-10-31 13:07:18+00:00)
Title: Phpunit locale aware hotfix

Ciao carissimo,

I propose you some fixes about broken phpunit tests cases, caused by remote geocoding services & locale-aware assertions.

Geoding:
------------

Google Map API has recently "moved" Milano to new lat/long values!

PHP's Locales:
--------------------

On my laptop phpunit tests suite failed because of PHP's locales: I see a dotted "0.00" when other see "0,00" with a comma. The float-cast I introduced now forces the test to consider value types. It run perfectly on a machine where fr_FR is the preferred locale. I also run on Travis-ci servers, that are eng-US localized, & [tests passed without errors](https://travis-ci.org/#!/ronanguilloux/GeoAdapter/builds/3002333)

Hope It'll help.

Grazie tanto comunque per questo tuo ottimo lavoro.