Skip to content

Commit

Permalink
Update pkg/proxy/proxy_community_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykazakov authored Oct 9, 2024
1 parent d7f9901 commit c557b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/proxy_community_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (s *TestProxySuite) checkProxyCommunityOK(fakeApp *fake.ProxyFakeApp, p *Pr
// It's not up to the proxy to check permissions on the specific namespace.
// The target API server will reject the request if the user does not have permissions to access the namespace.
// Here the request is successful because the underlying mock target cluster API always server returns OK
"plain http request as owner to namespace outside of private workspace": {
"plain http request as permitted user to namespace outside of private workspace": {
ProxyRequestMethod: "GET",
ProxyRequestHeaders: map[string][]string{"Authorization": {"Bearer " + s.token(alice)}},
ExpectedAPIServerRequestHeaders: map[string][]string{
Expand Down

0 comments on commit c557b41

Please sign in to comment.