You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-17 00:17:40 +02:00
Add startup logging for skipped auth routes
This commit is contained in:
@ -2365,9 +2365,9 @@ func Test_buildRoutesAllowlist(t *testing.T) {
|
||||
if tc.shouldError {
|
||||
assert.Error(t, err)
|
||||
return
|
||||
} else {
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
assert.NoError(t, err)
|
||||
|
||||
for i, route := range routes {
|
||||
assert.Greater(t, len(tc.expectedMethods), i)
|
||||
assert.Equal(t, route.method, tc.expectedMethods[i])
|
||||
|
Reference in New Issue
Block a user