refactor: speed up tests, maybe?

This commit is contained in:
Felix Bause
2023-06-19 14:57:16 +02:00
parent b59709d369
commit 086333d7f3
7 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,7 @@ import (
const validUUID2 = "799e95f0-4cc7-4bd7-9f01-5fdc4fa26ea3" const validUUID2 = "799e95f0-4cc7-4bd7-9f01-5fdc4fa26ea3"
func TestImportSuite(t *testing.T) { func TestImportSuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(importSuite)) suite.Run(t, new(importSuite))
} }

View File

@ -16,6 +16,7 @@ import (
) )
func TestEmailSuite(t *testing.T) { func TestEmailSuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(emailSuite)) suite.Run(t, new(emailSuite))
} }

View File

@ -21,6 +21,7 @@ import (
) )
func TestThirdPartySuite(t *testing.T) { func TestThirdPartySuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(thirdPartySuite)) suite.Run(t, new(thirdPartySuite))
} }

View File

@ -18,6 +18,7 @@ import (
) )
func TestTokenSuite(t *testing.T) { func TestTokenSuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(tokenSuite)) suite.Run(t, new(tokenSuite))
} }

View File

@ -13,6 +13,7 @@ import (
) )
func TestUserHandlerAdminSuite(t *testing.T) { func TestUserHandlerAdminSuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(userAdminSuite)) suite.Run(t, new(userAdminSuite))
} }

View File

@ -18,6 +18,7 @@ import (
) )
func TestUserSuite(t *testing.T) { func TestUserSuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(userSuite)) suite.Run(t, new(userSuite))
} }

View File

@ -21,6 +21,7 @@ import (
) )
func TestWebauthnSuite(t *testing.T) { func TestWebauthnSuite(t *testing.T) {
t.Parallel()
suite.Run(t, new(webauthnSuite)) suite.Run(t, new(webauthnSuite))
} }