authelia/internal/suites/suite_mariadb_test.go

32 lines
540 B
Go
Raw Normal View History

package suites
import (
"testing"
"github.com/stretchr/testify/suite"
)
type MariadbSuite struct {
*RodSuite
}
func NewMariadbSuite() *MariadbSuite {
return &MariadbSuite{RodSuite: new(RodSuite)}
}
func (s *MariadbSuite) TestOneFactorScenario() {
suite.Run(s.T(), NewOneFactorScenario())
}
func (s *MariadbSuite) TestTwoFactorScenario() {
suite.Run(s.T(), NewTwoFactorScenario())
}
func TestMariadbSuite(t *testing.T) {
if testing.Short() {
t.Skip("skipping suite test in short mode")
}
suite.Run(t, NewMariadbSuite())
}