File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77
88class UrlBuilder
99{
10- const BASE_URL = 'https://www .fio.cz/ib_api /rest/ ' ;
10+ const BASE_URL = 'https://fioapi .fio.cz/v1 /rest/ ' ;
1111
1212 /** @var string */
1313 protected $ token ;
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function testDownloaderSetsLastId()
9090 /** @var \GuzzleHttp\Psr7\Request $request */
9191 $ request = $ container [0 ]['request ' ];
9292
93- $ this ->assertSame ('https://www .fio.cz/ib_api /rest/set-last-id/validToken/123456/ ' , (string ) $ request ->getUri ());
93+ $ this ->assertSame ('https://fioapi .fio.cz/v1 /rest/set-last-id/validToken/123456/ ' , (string ) $ request ->getUri ());
9494 }
9595
9696 public function testDownloaderSetCertificatePath ()
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function testBuildPeriodsUrlReturnValidUrl()
2929 {
3030 $ urlBuilder = new UrlBuilder ('token1 ' );
3131 $ this ->assertSame (
32- 'https://www .fio.cz/ib_api /rest/periods/token1/2015-03-25/2015-03-31/transactions.json ' ,
32+ 'https://fioapi .fio.cz/v1 /rest/periods/token1/2015-03-25/2015-03-31/transactions.json ' ,
3333 $ urlBuilder ->buildPeriodsUrl (
3434 new \DateTimeImmutable ('2015-03-25 ' ),
3535 new \DateTimeImmutable ('2015-03-31 ' )
You can’t perform that action at this time.
0 commit comments