File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
main/java/net/hexonet/apiconnector
test/java/net/hexonet/apiconnector Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public class APIClient {
5151 public APIClient () {
5252 this .ua = "" ;
5353 this .debugMode = false ;
54- this .setURL ("https://coreapi.1api .net/api/call.cgi" );
54+ this .setURL ("https://api.ispapi .net/api/call.cgi" );
5555 this .socketConfig = new SocketConfig ();
5656 this .useLIVESystem ();
5757 }
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public void getSession2() {
8989 public void getURL () {
9090 APIClient cl = new APIClient ();
9191 String url = cl .getURL ();
92- assertEquals ("https://coreapi.1api .net/api/call.cgi" , url );
92+ assertEquals ("https://api.ispapi .net/api/call.cgi" , url );
9393 }
9494
9595 /**
@@ -131,8 +131,8 @@ public void setUserAgent() {
131131 @ Test
132132 public void setURL () {
133133 APIClient cl = new APIClient ();
134- String url = cl .setURL ("http://coreapi.1api .net/api/call.cgi" ).getURL ();
135- assertEquals ("http://coreapi.1api .net/api/call.cgi" , url );
134+ String url = cl .setURL ("http://api.ispapi .net/api/call.cgi" ).getURL ();
135+ assertEquals ("http://api.ispapi .net/api/call.cgi" , url );
136136 }
137137
138138 /**
You can’t perform that action at this time.
0 commit comments