mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(tests): add Parallelization where possible (#1823)
* feat(tests): add Parallelization where possible
This commit is contained in:
parent
c0882aff84
commit
4cc0f9cc83
18 changed files with 53 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue