File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/net/hexonet/apiconnector Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ public void logout2() {
426
426
@ Test
427
427
public void request1 () {
428
428
APIClient cl = new APIClient ();
429
- cl .enableDebugMode ().setURL (cl .getURL ().replace ("coreapi " , "wrongcoreapi" ))
429
+ cl .enableDebugMode ().setURL (cl .getURL ().replace ("api " , "wrongcoreapi" ))
430
430
.setRemoteIPAddress ("1.2.3.4" ).setCredentials ("test.user" , "test.passw0rd" )
431
431
.useOTESystem ();
432
432
Map <String , String > cmd = new HashMap <String , String >();
@@ -444,7 +444,7 @@ public void request1() {
444
444
@ Test
445
445
public void request2 () {
446
446
APIClient cl = new APIClient ();
447
- cl .setURL (cl .getURL ().replace ("coreapi " , "wrongcoreapi" )).setRemoteIPAddress ("1.2.3.4" )
447
+ cl .setURL (cl .getURL ().replace ("api " , "wrongcoreapi" )).setRemoteIPAddress ("1.2.3.4" )
448
448
.setCredentials ("test.user" , "test.passw0rd" ).useOTESystem ();
449
449
Map <String , String > cmd = new HashMap <String , String >();
450
450
cmd .put ("COMMAND" , "GetUserIndex" );
You can’t perform that action at this time.
0 commit comments