diff options
| author | Amir Zarrinkafsh <nightah@me.com> | 2020-03-05 10:25:52 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 10:25:52 +1100 |
| commit | 0dea0fc82ebab1276fd671a7570f627ba3dc3113 (patch) | |
| tree | 73ac8509aa30272cf299cf77732cd8b6686baa12 /internal/suites/suite_mysql_test.go | |
| parent | e033a399a75a98565e6f4091995c0d7ab74c63c7 (diff) | |
[FEATURE] Support MySQL as a storage backend. (#678)
* [FEATURE] Support MySQL as a storage backend.
Fixes #512.
* Fix integration tests and include MySQL in docs.
Diffstat (limited to 'internal/suites/suite_mysql_test.go')
| -rw-r--r-- | internal/suites/suite_mysql_test.go | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/internal/suites/suite_mysql_test.go b/internal/suites/suite_mysql_test.go new file mode 100644 index 000000000..b1813c6d8 --- /dev/null +++ b/internal/suites/suite_mysql_test.go @@ -0,0 +1,27 @@ +package suites + +import ( + "testing" + + "github.com/stretchr/testify/suite" +) + +type MySQLSuite struct { + *SeleniumSuite +} + +func NewMySQLSuite() *MySQLSuite { + return &MySQLSuite{SeleniumSuite: new(SeleniumSuite)} +} + +func (s *MySQLSuite) TestOneFactorScenario() { + suite.Run(s.T(), NewOneFactorScenario()) +} + +func (s *MySQLSuite) TestTwoFactorScenario() { + suite.Run(s.T(), NewTwoFactorScenario()) +} + +func TestMySQLSuite(t *testing.T) { + suite.Run(t, NewMySQLSuite()) +} |
