lib/api: Slightly unflake TestCSRFRequired by allowing longer timeout

This commit is contained in:
Jakob Borg 2019-11-06 09:52:03 +01:00
parent 6755a9ca63
commit 6be6de4b4a

View File

@ -566,7 +566,7 @@ func TestCSRFRequired(t *testing.T) {
}
cli := &http.Client{
Timeout: time.Second,
Timeout: time.Minute,
}
// Getting the base URL (i.e. "/") should succeed.