authelia/internal/suites/suite_oidc_test.go

30 lines
434 B
Go
Raw Normal View History

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