summaryrefslogtreecommitdiff
path: root/internal/suites/suite_ldap_test.go
diff options
context:
space:
mode:
authorClement Michaud <clement.michaud34@gmail.com>2019-11-17 11:47:07 +0100
committerClément Michaud <clement.michaud34@gmail.com>2019-11-17 16:30:33 +0100
commit3b2d733367c88621e4178301f2bcb4bc03613eee (patch)
tree41ac41fc5b6cece04db85a08bfa7c32a022f7354 /internal/suites/suite_ldap_test.go
parenta06b69dd458e756f1a3d6867eb5b9f54560e2ee1 (diff)
Move source code into internal directory to follow standard project layout.
https://github.com/golang-standards/project-layout
Diffstat (limited to 'internal/suites/suite_ldap_test.go')
-rw-r--r--internal/suites/suite_ldap_test.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/internal/suites/suite_ldap_test.go b/internal/suites/suite_ldap_test.go
new file mode 100644
index 000000000..9df63308f
--- /dev/null
+++ b/internal/suites/suite_ldap_test.go
@@ -0,0 +1,20 @@
+package suites
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/suite"
+)
+
+type LDAPSuite struct {
+ *SeleniumSuite
+}
+
+func NewLDAPSuite() *LDAPSuite {
+ return &LDAPSuite{SeleniumSuite: new(SeleniumSuite)}
+}
+
+func TestLDAPSuite(t *testing.T) {
+ suite.Run(t, NewOneFactorSuite())
+ suite.Run(t, NewTwoFactorSuite())
+}