mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update server tests (#2118)
This commit is contained in:
@ -142,7 +142,7 @@ func (s *TestingServer) request(method, uri string, body io.Reader, params, head
|
||||
return nil, errors.Errorf("unable to find access token in the login response headers")
|
||||
}
|
||||
s.cookie = cookie
|
||||
} else if strings.Contains(uri, "/api/v1/auth/logout") {
|
||||
} else if strings.Contains(uri, "/api/v1/auth/signout") {
|
||||
s.cookie = ""
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user