Skip to content

Commit a12cfb3

Browse files
committed
call binance us api for test https://api.binance.us
1 parent b4820f4 commit a12cfb3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ import (
99
)
1010

1111
func TestClient(t *testing.T) {
12-
baseURL, err := url.Parse("https://api.binance.com")
12+
baseURL, err := url.Parse("https://api.binance.us")
1313
assert.NoError(t, err)
1414

1515
ctx := context.Background()
1616
apiClient := &BaseAPIClient{
17-
BaseURL: baseURL,
17+
BaseURL: baseURL,
1818
}
1919

20-
req, err := apiClient.NewRequest(ctx, "GET", "/api/v3/ping", nil , nil)
20+
req, err := apiClient.NewRequest(ctx, "GET", "/api/v3/ping", nil, nil)
2121
if assert.NoError(t, err) {
2222
assert.NotNil(t, req)
2323

0 commit comments

Comments
 (0)