File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed 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 @@ func NewAPIClient() *APIClient {
5151 cl := & APIClient {
5252 debugMode : false ,
5353 socketTimeout : 300 * time .Second ,
54- socketURL : "https://coreapi.1api .net/api/call.cgi" ,
54+ socketURL : "https://api.ispapi .net/api/call.cgi" ,
5555 socketConfig : SC .NewSocketConfig (),
5656 ua : "" ,
5757 }
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ func TestGetSesssion2(t *testing.T) {
7171
7272func TestGetURL (t * testing.T ) {
7373 url := cl .GetURL ()
74- if strings .Compare (url , "https://coreapi.1api .net/api/call.cgi" ) != 0 {
74+ if strings .Compare (url , "https://api.ispapi .net/api/call.cgi" ) != 0 {
7575 t .Error ("TestGetURL: Expected url not matching." )
7676 }
7777}
@@ -95,12 +95,12 @@ func TestSetUserAgent(t *testing.T) {
9595}
9696
9797func TestSetURL (t * testing.T ) {
98- newurl := "http://coreapi.1api .net/api/call.cgi"
98+ newurl := "http://api.ispapi .net/api/call.cgi"
9999 url := cl .SetURL (newurl ).GetURL ()
100100 if strings .Compare (newurl , url ) != 0 {
101101 t .Error ("TestSetURL: Expected url not matching." )
102102 }
103- cl .SetURL ("https://coreapi.1api .net/api/call.cgi" )
103+ cl .SetURL ("https://api.ispapi .net/api/call.cgi" )
104104}
105105
106106func TestSetOTP1 (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments