mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-09 23:48:00 +00:00
update error message assertion for github in supervisor_login_test.go
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user