Heimdall tests: the no-attempt-field refusal carries a genuine code, so only the missing nonce can refuse it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d463336206
commit
efb278a910
1 changed files with 1 additions and 1 deletions
|
|
@ -694,7 +694,7 @@ public sealed class HeimdallCompletionTests
|
|||
"Heimdall completion has no attempt for this browser."),
|
||||
("bad cookie", await host.CompleteAsync(attempt.Nonce, host.CodeFor(attempt, accountId), Corrupt(attempt.Cookie!)),
|
||||
"Heimdall completion has no attempt for this browser."),
|
||||
("no attempt field", await host.CompleteAsync(null, "code", attempt.Cookie),
|
||||
("no attempt field", await host.CompleteAsync(null, host.CodeFor(attempt, accountId), attempt.Cookie),
|
||||
"Heimdall completion has no attempt for this browser."),
|
||||
("malformed attempt", await host.CompleteAsync("short", "code", attempt.Cookie, "bifrost_heimdall_short"),
|
||||
"Heimdall completion has no attempt for this browser."),
|
||||
|
|
|
|||
Loading…
Reference in a new issue