feat(tests): add Parallelization where possible (#1823)

* feat(tests): add Parallelization where possible
This commit is contained in:
Kyle Sanderson 2024-11-23 06:16:09 -08:00 committed by GitHub
parent c0882aff84
commit 4cc0f9cc83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 53 additions and 2 deletions

View file

@ -92,6 +92,7 @@ func setupAuthHandler() {
}
func TestAuthHandlerLogin(t *testing.T) {
t.Parallel()
logger := zerolog.Nop()
encoder := encoder{}
cookieStore := sessions.NewCookieStore([]byte("test"))
@ -153,6 +154,7 @@ func TestAuthHandlerLogin(t *testing.T) {
}
func TestAuthHandlerValidateOK(t *testing.T) {
t.Parallel()
logger := zerolog.Nop()
encoder := encoder{}
cookieStore := sessions.NewCookieStore([]byte("test"))
@ -224,6 +226,7 @@ func TestAuthHandlerValidateOK(t *testing.T) {
}
func TestAuthHandlerValidateBad(t *testing.T) {
t.Parallel()
logger := zerolog.Nop()
encoder := encoder{}
cookieStore := sessions.NewCookieStore([]byte("test"))
@ -271,6 +274,7 @@ func TestAuthHandlerValidateBad(t *testing.T) {
}
func TestAuthHandlerLoginBad(t *testing.T) {
t.Parallel()
logger := zerolog.Nop()
encoder := encoder{}
cookieStore := sessions.NewCookieStore([]byte("test"))