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

Use Sqlite Provider for Functional Tests #639

Merged
merged 5 commits into from Nov 27, 2023

Conversation

KyleMcMaster
Copy link
Collaborator

@KyleMcMaster KyleMcMaster commented Nov 27, 2023

Dependent on #638 being merged first

  • Updates CustomWebApplicationFactory to no longer replace DbContextoptions<> that used Sqlite provider with DbContextoptions<> using an InMemoryDatabase. This allows for testing of raw SQL executed on the Sqlite provider AppDbContext like the test in ContributorList.

@KyleMcMaster KyleMcMaster marked this pull request as ready for review November 27, 2023 17:12
@ardalis ardalis merged commit b918945 into main Nov 27, 2023
3 checks passed
@KyleMcMaster KyleMcMaster deleted the kylemcmaster/sql-lite-functional-tests branch November 27, 2023 17:18
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.

None yet

2 participants