Skip to content
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

test: add test for content-metdata retrieve without customer query param #164

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

pwnage101
Copy link
Contributor

ENT-7788

Description

Ticket with context: https://2u-internal.atlassian.net/browse/ENT-7788

noticed that it looks like ContentMetadataViewSet in enterprise-subsidy throws a 500 when it's called without the enterprise_customer_uuid query parameter

I was unable to reproduce this issue, as the response was 403 when no parameter was supplied (and supplying the parameter returns a 200). For completeness, I added a unit test to make sure the response is 403.

@pwnage101
Copy link
Contributor Author

Added required query parameter to docs:
image

@pwnage101 pwnage101 force-pushed the pwnage101/ENT-7788 branch 2 times, most recently from c6452fd to 2d5fc13 Compare October 30, 2023 22:29
@pwnage101 pwnage101 merged commit e1c0631 into main Nov 2, 2023
7 checks passed
@pwnage101 pwnage101 deleted the pwnage101/ENT-7788 branch November 2, 2023 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants