authelia/internal/suites/suite_haproxy_test.go

32 lines
577 B
Go
Raw Normal View History

2020-01-10 04:49:30 +00:00
package suites
import (
"testing"
"github.com/stretchr/testify/suite"
)
type HAProxySuite struct {
*SeleniumSuite
}
func NewHAProxySuite() *HAProxySuite {
return &HAProxySuite{SeleniumSuite: new(SeleniumSuite)}
}
func (s *HAProxySuite) TestOneFactorScenario() {
suite.Run(s.T(), NewOneFactorScenario())
}
func (s *HAProxySuite) TestTwoFactorScenario() {
suite.Run(s.T(), NewTwoFactorScenario())
}
func (s *HAProxySuite) TestCustomHeaders() {
suite.Run(s.T(), NewCustomHeadersScenario())
}
2020-01-10 04:49:30 +00:00
func TestHAProxySuite(t *testing.T) {
suite.Run(t, NewHAProxySuite())
}