@@ -15,8 +15,8 @@ public function testConfigurationJsonEncode(): void
1515 $ config = new Configuration ();
1616 $ config ->setClientId ('client id ' );
1717 $ config ->setClientSecret ('client secret ' );
18- $ config ->setHost ('https ://api-qa.aspose.cloud ' );
19- $ config ->setAuthUrl ('https ://api-qa.aspose.cloud /connect/token ' );
18+ $ config ->setHost ('http ://localhost:47972 ' );
19+ $ config ->setAuthUrl ('http ://localhost:47972 /connect/token ' );
2020 $ config ->setAccessToken ('access token ' );
2121
2222 $ json = json_encode ($ config , JSON_PRETTY_PRINT );
@@ -27,8 +27,8 @@ public function testConfigurationJsonEncode(): void
2727 '{
2828 "ClientId": "client id",
2929 "ClientSecret": "client secret",
30- "Host": "https : \\/ \\/api-qa.aspose.cloud ",
31- "AuthUrl": "https : \\/ \\/api-qa.aspose.cloud \\/connect \\/token",
30+ "Host": "http : \\/ \\/localhost:47972 ",
31+ "AuthUrl": "http : \\/ \\/localhost:47972 \\/connect \\/token",
3232 "AccessToken": "access token",
3333 "Debug": false
3434} ' ,
@@ -41,8 +41,8 @@ public function testConfigurationFromJson(): void
4141 $ config = new Configuration ();
4242 $ config ->setClientId ('client id ' );
4343 $ config ->setClientSecret ('client secret ' );
44- $ config ->setHost ('https ://api-qa.aspose.cloud ' );
45- $ config ->setAuthUrl ('https ://api-qa.aspose.cloud /connect/token ' );
44+ $ config ->setHost ('http ://localhost:47972 ' );
45+ $ config ->setAuthUrl ('http ://localhost:47972 /connect/token ' );
4646 $ config ->setAccessToken ('access token ' );
4747 $ json = json_encode ($ config , JSON_PRETTY_PRINT );
4848
0 commit comments