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

Fail informatively when resource doesn't exist #290

Merged
merged 4 commits into from
Jan 4, 2022
Merged

Conversation

ateucher
Copy link
Collaborator

@ateucher ateucher commented Jan 4, 2022

Tests are currently failing because one of our test records changed the resource id. This illustrated that we don't actually have a check to ensure a requested resource exists in a record. This fixes that (along with a new test), and fixes the failing test by using the new resource ID.

@ateucher ateucher requested a review from boshek January 4, 2022 17:53
Copy link
Collaborator

@boshek boshek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ateucher ateucher merged commit 9c8dbc1 into master Jan 4, 2022
@ateucher ateucher deleted the fix-wrong-resource branch January 4, 2022 19:06
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.

2 participants