summaryrefslogtreecommitdiff
path: root/internal/suites/suite_pathprefix_test.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2021-03-14 18:08:26 +1100
committerGitHub <noreply@github.com>2021-03-14 18:08:26 +1100
commita0248cd096fe438da4abd9b0999d4deba1bdb5f2 (patch)
tree46c2e339a124fa237ea39f672d79d948d00360ce /internal/suites/suite_pathprefix_test.go
parent4f5bda768bf7edb7614e34b4ed829653271078e1 (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_pathprefix_test.go')
-rw-r--r--internal/suites/suite_pathprefix_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/suites/suite_pathprefix_test.go b/internal/suites/suite_pathprefix_test.go
index 21492f167..e2dd8a534 100644
--- a/internal/suites/suite_pathprefix_test.go
+++ b/internal/suites/suite_pathprefix_test.go
@@ -31,5 +31,9 @@ func (s *PathPrefixSuite) TestResetPasswordScenario() {
}
func TestPathPrefixSuite(t *testing.T) {
+ if testing.Short() {
+ t.Skip("skipping suite test in short mode")
+ }
+
suite.Run(t, NewPathPrefixSuite())
}