mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
28 lines
483 B
Go
28 lines
483 B
Go
package suites
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
type MariadbSuite struct {
|
|
*SeleniumSuite
|
|
}
|
|
|
|
func NewMariadbSuite() *MariadbSuite {
|
|
return &MariadbSuite{SeleniumSuite: new(SeleniumSuite)}
|
|
}
|
|
|
|
func (s *MariadbSuite) TestOneFactorScenario() {
|
|
suite.Run(s.T(), NewOneFactorScenario())
|
|
}
|
|
|
|
func (s *MariadbSuite) TestTwoFactorScenario() {
|
|
suite.Run(s.T(), NewTwoFactorScenario())
|
|
}
|
|
|
|
func TestMariadbSuite(t *testing.T) {
|
|
suite.Run(t, NewMariadbSuite())
|
|
}
|