Skip to content

Raise DBAPIError rather than None#343

Merged
aaron-junot merged 1 commit intomainfrom
fix-tests
Jul 6, 2020
Merged

Raise DBAPIError rather than None#343
aaron-junot merged 1 commit intomainfrom
fix-tests

Conversation

@aaron-junot
Copy link
Copy Markdown
Member

When we merged #341, the tests started failing on this line

show_first = Category.query.filter(Category.name == "Getting Started").first()

I'm not sure exactly why this fixes it, but it's more correct anyway and it happens to fix the tests. I'm going to merge it and then do some manual testing on staging and make sure everything is good to go before we deploy to prod.

@aaron-junot aaron-junot requested a review from mike-lloyd03 July 6, 2020 00:22
@aaron-junot aaron-junot merged commit e490e46 into main Jul 6, 2020
@aaron-junot aaron-junot deleted the fix-tests branch July 6, 2020 00:24
@aaron-junot
Copy link
Copy Markdown
Member Author

I did some manual testing in staging and everything looks good to me. These changes didn't affect anything with auth or with creating/updating resources. All the GET requests return the data I'm expecting. So I really think it was just a weird test thing and not anything to worry about in production. I'm going to go ahead and deploy 🤞

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.

1 participant