mirror of
https://github.com/1f349/lavender.git
synced 2024-11-09 22:32:48 +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, "", rec.Body.String())
|
||||||
assert.Equal(t, loginDomain+"/authorize?"+url.Values{
|
assert.Equal(t, loginDomain+"/authorize?"+url.Values{
|
||||||
"client_id": []string{"test-id"},
|
"client_id": []string{"test-id"},
|
||||||
"login_name": []string{"test@example.com"},
|
"login_name": []string{"test"},
|
||||||
"redirect_uri": []string{lavenderDomain + "/callback"},
|
"redirect_uri": []string{lavenderDomain + "/callback"},
|
||||||
"response_type": []string{"code"},
|
"response_type": []string{"code"},
|
||||||
"state": []string{"example.com:" + nextState},
|
"state": []string{"example.com:" + nextState},
|
||||||
|
Loading…
Reference in New Issue
Block a user