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 {
51
51
public APIClient () {
52
52
this .ua = "" ;
53
53
this .debugMode = false ;
54
- this .setURL ("https://coreapi.1api .net/api/call.cgi" );
54
+ this .setURL ("https://api.ispapi .net/api/call.cgi" );
55
55
this .socketConfig = new SocketConfig ();
56
56
this .useLIVESystem ();
57
57
}
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public void getSession2() {
89
89
public void getURL () {
90
90
APIClient cl = new APIClient ();
91
91
String url = cl .getURL ();
92
- assertEquals ("https://coreapi.1api .net/api/call.cgi" , url );
92
+ assertEquals ("https://api.ispapi .net/api/call.cgi" , url );
93
93
}
94
94
95
95
/**
@@ -131,8 +131,8 @@ public void setUserAgent() {
131
131
@ Test
132
132
public void setURL () {
133
133
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 );
136
136
}
137
137
138
138
/**
You can’t perform that action at this time.
0 commit comments