authelia/internal/suites/suite_short_timeouts_test.go

36 lines
716 B
Go
Raw Normal View History

package suites
import (
"testing"
"github.com/stretchr/testify/suite"
)
type ShortTimeoutsSuite struct {
*RodSuite
}
func NewShortTimeoutsSuite() *ShortTimeoutsSuite {
return &ShortTimeoutsSuite{RodSuite: new(RodSuite)}
}
func (s *ShortTimeoutsSuite) TestDefaultRedirectionURLScenario() {
suite.Run(s.T(), NewDefaultRedirectionURLScenario())
}
func (s *ShortTimeoutsSuite) TestInactivityScenario() {
suite.Run(s.T(), NewInactivityScenario())
}
func (s *ShortTimeoutsSuite) TestRegulationScenario() {
suite.Run(s.T(), NewRegulationScenario())
}
func TestShortTimeoutsSuite(t *testing.T) {
if testing.Short() {
t.Skip("skipping suite test in short mode")
}
suite.Run(t, NewShortTimeoutsSuite())
}