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

Add real db test for server/middleware_test.go #63

Open
gilcrest opened this issue Jan 27, 2022 · 1 comment
Open

Add real db test for server/middleware_test.go #63

gilcrest opened this issue Jan 27, 2022 · 1 comment
Assignees

Comments

@gilcrest
Copy link
Owner

Right now, tests that hit the db are mocked. Need to add true tests that hit the db. It will be a significant effort to enable this due to the test data setup/cleanup that will need to be in place for these tests, but it's worth it.

@gilcrest gilcrest self-assigned this Feb 9, 2023
@gilcrest
Copy link
Owner Author

gilcrest commented Feb 9, 2023

See TestServer_appHandler for to see where mocked and replace with actual

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

No branches or pull requests

1 participant