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() {
426426 @ Test
427427 public void request1 () {
428428 APIClient cl = new APIClient ();
429- cl .enableDebugMode ().setURL (cl .getURL ().replace ("coreapi " , "wrongcoreapi" ))
429+ cl .enableDebugMode ().setURL (cl .getURL ().replace ("api " , "wrongcoreapi" ))
430430 .setRemoteIPAddress ("1.2.3.4" ).setCredentials ("test.user" , "test.passw0rd" )
431431 .useOTESystem ();
432432 Map <String , String > cmd = new HashMap <String , String >();
@@ -444,7 +444,7 @@ public void request1() {
444444 @ Test
445445 public void request2 () {
446446 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" )
448448 .setCredentials ("test.user" , "test.passw0rd" ).useOTESystem ();
449449 Map <String , String > cmd = new HashMap <String , String >();
450450 cmd .put ("COMMAND" , "GetUserIndex" );
You can’t perform that action at this time.
0 commit comments