From 480e1ffc4b9756b8c7c05deecba06ed3ee1aa146 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Tue, 10 Oct 2023 23:17:32 +0100 Subject: [PATCH] Fix the login name being incorrect in the test --- server/flow_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/flow_test.go b/server/flow_test.go index 1a47a29..2621b6e 100644 --- a/server/flow_test.go +++ b/server/flow_test.go @@ -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},