zeroshade commented on code in PR #793:
URL: https://github.com/apache/iceberg-go/pull/793#discussion_r2954310311


##########
catalog/rest/rest_internal_test.go:
##########
@@ -194,19 +193,30 @@ func TestAuthHeader(t *testing.T) {
                })
        })
 
+       var capturedAuthHeader string
+       mux.HandleFunc("/v1/namespaces", func(w http.ResponseWriter, r 
*http.Request) {
+               capturedAuthHeader = r.Header.Get("Authorization")

Review Comment:
   should we assert the authorization is what we expect here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to