mirror of
				https://github.com/teamhanko/hanko.git
				synced 2025-10-27 14:17:56 +08:00 
			
		
		
		
	refactor: speed up tests, maybe?
This commit is contained in:
		| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -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)) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Bause
					Felix Bause