@@ -51,7 +51,7 @@ public function it_throws_an_exception_with_error_response()
5151 {
5252 $ this ->expectException (Exception::class);
5353 $ uri = 'https://api.apilayer.com/currency_data/live?apikey=secret¤cies=EUR ' ;
54- $ content = file_get_contents (__DIR__ .'/../../../../ Fixtures/Service/CurrencyData/error.json ' );
54+ $ content = file_get_contents (__DIR__ .'/../../../Fixtures/Service/ApiLayer /CurrencyData/error.json ' );
5555
5656 $ service = new CurrencyData ($ this ->getHttpAdapterMock ($ uri , $ content ), null , ['api_key ' => 'secret ' ]);
5757 $ service ->getExchangeRate (new ExchangeRateQuery (CurrencyPair::createFromString ('USD/EUR ' )));
@@ -65,7 +65,7 @@ public function it_fetches_a_rate()
6565 $ uri = 'https://api.apilayer.com/currency_data/live?apikey=secret¤cies=EUR ' ;
6666 $ expectedDate = new \DateTime ();
6767 $ expectedDate ->setTimestamp (1399748450 );
68- $ content = file_get_contents (__DIR__ .'/../../../Fixtures/Service/CurrencyData/success.json ' );
68+ $ content = file_get_contents (__DIR__ .'/../../../Fixtures/Service/ApiLayer/ CurrencyData/success.json ' );
6969
7070 $ pair = CurrencyPair::createFromString ('USD/EUR ' );
7171 $ service = new CurrencyData ($ this ->getHttpAdapterMock ($ uri , $ content ), null , ['api_key ' => 'secret ' ]);
@@ -84,7 +84,7 @@ public function it_fetches_a_historical_rate()
8484 {
8585 $ pair = CurrencyPair::createFromString ('USD/AED ' );
8686 $ uri = 'http://apilayer.net/api/historical?apikey=secret&date=2015-05-06 ' ;
87- $ content = file_get_contents (__DIR__ .'/../../../Fixtures/Service/CurrencyData/historical_success.json ' );
87+ $ content = file_get_contents (__DIR__ .'/../../../Fixtures/Service/ApiLayer/ CurrencyData/historical_success.json ' );
8888 $ date = new \DateTime ('2015-05-06 ' );
8989 $ expectedDate = new \DateTime ();
9090 $ expectedDate ->setTimestamp (1430870399 );
0 commit comments