authelia/internal/suites/suite_docker_test.go
2019-12-06 07:11:54 +01:00

28 lines
475 B
Go

package suites
import (
"testing"
"github.com/stretchr/testify/suite"
)
type DockerSuite struct {
*SeleniumSuite
}
func NewDockerSuite() *DockerSuite {
return &DockerSuite{SeleniumSuite: new(SeleniumSuite)}
}
func (s *DockerSuite) TestOneFactorScenario() {
suite.Run(s.T(), NewOneFactorScenario())
}
func (s *DockerSuite) TestTwoFactorScenario() {
suite.Run(s.T(), NewTwoFactorScenario())
}
func TestDockerSuite(t *testing.T) {
suite.Run(t, NewDockerSuite())
}