authelia/internal/suites/suite_oidc_traefik_test.go

30 lines
490 B
Go
Raw Permalink Normal View History

package suites
import (
"testing"
"github.com/stretchr/testify/suite"
)
type OIDCTraefikSuite struct {
*RodSuite
}
func NewOIDCTraefikSuite() *OIDCTraefikSuite {
return &OIDCTraefikSuite{
RodSuite: NewRodSuite(oidcTraefikSuiteName),
}
}
func (s *OIDCTraefikSuite) TestOIDCScenario() {
suite.Run(s.T(), NewOIDCScenario())
}
func TestOIDCTraefikSuite(t *testing.T) {
if testing.Short() {
t.Skip("skipping suite test in short mode")
}
suite.Run(t, NewOIDCTraefikSuite())
}