mirror of
https://github.com/1f349/lavender.git
synced 2024-12-22 07:34:06 +00:00
Fix the login name being incorrect in the test
This commit is contained in:
parent
340f1f9439
commit
480e1ffc4b
@ -157,7 +157,7 @@ func TestFlowPopupPost(t *testing.T) {
|
||||
assert.Equal(t, "", rec.Body.String())
|
||||
assert.Equal(t, loginDomain+"/authorize?"+url.Values{
|
||||
"client_id": []string{"test-id"},
|
||||
"login_name": []string{"test@example.com"},
|
||||
"login_name": []string{"test"},
|
||||
"redirect_uri": []string{lavenderDomain + "/callback"},
|
||||
"response_type": []string{"code"},
|
||||
"state": []string{"example.com:" + nextState},
|
||||
|
Loading…
Reference in New Issue
Block a user