authelia/internal/suites/suite_mariadb_test.go

32 lines
540 B
Go

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())
}