-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add three postman auth methods #190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
t.Fatalf("missing key header %#v", req.Header) | ||
} | ||
assert.Len(t, tp, 1) | ||
assert.Equal(t, tp[0], "token") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be Bearer token
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've put Token: "token",
in the mock data so this should be "token" :) https://github.com/kubeshop/tracetest/pull/190/files#diff-dd8e927deb1a3e387aeb4f04f6c48d0bce9412e93a1f4704296dc36897fcaed5R299
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just want to make sure the Authorization header value is right in the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it and it seems to be working 😄
Co-authored-by: Matheus Nogueira <[email protected]>
Thanks for review folks :) |
No description provided.