Skip to content

Commit ca06099

Browse files
committed
tests: fix tests for proxy controller
1 parent d4b4245 commit ca06099

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/controller/proxy_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func TestProxyController(t *testing.T) {
371371
req.Header.Set("x-forwarded-proto", "https")
372372
req.Header.Set("x-forwarded-uri", "/")
373373
router.ServeHTTP(recorder, req)
374-
assert.Equal(t, 401, recorder.Code)
374+
assert.Equal(t, 403, recorder.Code)
375375
assert.Equal(t, "", recorder.Header().Get("remote-user"))
376376
assert.Equal(t, "", recorder.Header().Get("remote-name"))
377377
assert.Equal(t, "", recorder.Header().Get("remote-email"))

0 commit comments

Comments
 (0)