Fix the login name being incorrect in the test

This commit is contained in:
Melon 2023-10-10 23:17:32 +01:00
parent 340f1f9439
commit 480e1ffc4b
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -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},