mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 23:16:54 +00:00
Minor linter/test fixes after merging master
This commit is contained in:
@@ -214,7 +214,7 @@ func TestGetAccountBalance(t *testing.T) {
|
||||
func TestGetAggregatedBalance(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
if h.APIKey == "" || h.APISecret == "" || h.APIAuthPEMKey == "" {
|
||||
if !h.ValidateAPICredentials() {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
|
||||
@@ -258,7 +258,7 @@ func TestGetAccountBalance(t *testing.T) {
|
||||
|
||||
func TestGetAggregatedBalance(t *testing.T) {
|
||||
t.Parallel()
|
||||
if h.APIKey == "" || h.APISecret == "" || h.APIAuthPEMKey == "" {
|
||||
if !h.ValidateAPICredentials() {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user