@@ -20,7 +20,7 @@ final class MapboxTest extends TestCase
2020{
2121 public function testGeocodeWithSingleResult ()
2222 {
23- $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/mapbox- geocode-single.json ' );
23+ $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/geocode-single.json ' );
2424 $ httpClient = new MockHttpClient ($ result );
2525
2626 $ mapbox = new Mapbox ($ httpClient , 'test_token ' );
@@ -46,7 +46,7 @@ public function testGeocodeWithSingleResult()
4646
4747 public function testGeocodeWithMultipleResults ()
4848 {
49- $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/mapbox- geocode-multiple.json ' );
49+ $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/geocode-multiple.json ' );
5050 $ httpClient = new MockHttpClient ($ result );
5151
5252 $ mapbox = new Mapbox ($ httpClient , 'test_token ' );
@@ -81,7 +81,7 @@ public function testGeocodeWithMultipleResults()
8181
8282 public function testGeocodeWithNoResults ()
8383 {
84- $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/mapbox- geocode-empty.json ' );
84+ $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/geocode-empty.json ' );
8585 $ httpClient = new MockHttpClient ($ result );
8686
8787 $ mapbox = new Mapbox ($ httpClient , 'test_token ' );
@@ -97,7 +97,7 @@ public function testGeocodeWithNoResults()
9797
9898 public function testReverseGeocodeWithValidCoordinates ()
9999 {
100- $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/mapbox- reverse-geocode.json ' );
100+ $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/reverse-geocode.json ' );
101101 $ httpClient = new MockHttpClient ($ result );
102102
103103 $ mapbox = new Mapbox ($ httpClient , 'test_token ' );
@@ -139,7 +139,7 @@ public function testReverseGeocodeWithValidCoordinates()
139139
140140 public function testReverseGeocodeWithNoResults ()
141141 {
142- $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/mapbox- reverse-geocode-empty.json ' );
142+ $ result = JsonMockResponse::fromFile (__DIR__ .'/fixtures/reverse-geocode-empty.json ' );
143143 $ httpClient = new MockHttpClient ($ result );
144144
145145 $ mapbox = new Mapbox ($ httpClient , 'test_token ' );
0 commit comments