authelia/internal/suites/suite_docker_test.go

32 lines
532 B
Go

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