Minor linter/test fixes after merging master

This commit is contained in:
Adrian Gallagher
2019-08-06 16:08:52 +10:00
parent 23206caffa
commit e8c9a9a2a4
3 changed files with 4 additions and 2 deletions

View File

@@ -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()
}

View File

@@ -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()
}