diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2021-03-14 18:08:26 +1100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-14 18:08:26 +1100 | 
| commit | a0248cd096fe438da4abd9b0999d4deba1bdb5f2 (patch) | |
| tree | 46c2e339a124fa237ea39f672d79d948d00360ce /internal/suites/suite_ldap_test.go | |
| parent | 4f5bda768bf7edb7614e34b4ed829653271078e1 (diff) | |
test(suites): short mode skip suites testing (#1823)
This PR changes the suites tests so if go test -short is used, they are skipped per go standards and a message is displayed. Additionally removed some redundant types from suite_high_availability_test.go and adjusted a warning about a nil req var.
Diffstat (limited to 'internal/suites/suite_ldap_test.go')
| -rw-r--r-- | internal/suites/suite_ldap_test.go | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/suites/suite_ldap_test.go b/internal/suites/suite_ldap_test.go index 607ddbbd0..5859d936f 100644 --- a/internal/suites/suite_ldap_test.go +++ b/internal/suites/suite_ldap_test.go @@ -35,5 +35,9 @@ func (s *LDAPSuite) TestSigninEmailScenario() {  }  func TestLDAPSuite(t *testing.T) { +	if testing.Short() { +		t.Skip("skipping suite test in short mode") +	} +  	suite.Run(t, NewLDAPSuite())  }  | 
