File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Provider/Photon/Tests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1313namespace Geocoder \Provider \Photon \Tests ;
1414
1515use Geocoder \IntegrationTest \BaseTestCase ;
16+ use Geocoder \Model \AddressCollection ;
1617use Geocoder \Provider \Photon \Model \PhotonAddress ;
1718use Geocoder \Provider \Photon \Photon ;
1819use Geocoder \Query \GeocodeQuery ;
@@ -141,15 +142,15 @@ public function testGeocodeQueryWithLatLon(): void
141142
142143 $ query = GeocodeQuery::create ('Paris ' )->withLimit (1 );
143144 $ results = $ provider ->geocodeQuery ($ query );
144- $ this ->assertInstanceOf (' Geocoder\Model\ AddressCollection' , $ results );
145+ $ this ->assertInstanceOf (AddressCollection::class , $ results );
145146 $ this ->assertCount (1 , $ results );
146147 $ this ->assertEquals ('France ' , $ results ->first ()->getCountry ());
147148
148149 $ query = $ query
149150 ->withData ('lat ' , 33.661426 )
150151 ->withData ('lon ' , -95.556321 );
151152 $ results = $ provider ->geocodeQuery ($ query );
152- $ this ->assertInstanceOf (' Geocoder\Model\ AddressCollection' , $ results );
153+ $ this ->assertInstanceOf (AddressCollection::class , $ results );
153154 $ this ->assertCount (1 , $ results );
154155 $ this ->assertEquals ('United States ' , $ results ->first ()->getCountry ());
155156 }
You can’t perform that action at this time.
0 commit comments