From 2bf11ffde1dacab293486aa99156ced3dd4fa6e7 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Wed, 29 May 2024 09:45:43 -0700 Subject: [PATCH] update error message assertion for github in supervisor_login_test.go --- test/integration/supervisor_login_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/supervisor_login_test.go b/test/integration/supervisor_login_test.go index d17c3ee49..782c8ada2 100644 --- a/test/integration/supervisor_login_test.go +++ b/test/integration/supervisor_login_test.go @@ -613,8 +613,7 @@ func TestSupervisorLogin_Browser(t *testing.T) { // Get the text of the preformatted error message showing on the page. textOfPreTag := browser.TextOfFirstMatch(t, "pre") require.Equal(t, - "Unprocessable Entity: failed to get user info from GitHub API: "+ - "user is not allowed to log in due to organization membership policy\n", + "Unprocessable Entity: failed to get user info from GitHub API\n", textOfPreTag) }, wantLocalhostCallbackToNeverHappen: true,