Skip to content

How to properly make integration tests with triggers? #133

Answered by koenbeuk
guilhermecampello asked this question in Q&A
Discussion options

You must be logged in to vote

This library is agnostic to the database provider that you are using. Triggers will run equally on in-memory databases as they do on actual databases.

In your example code, you build two ServiceProviders, perhaps that is the source of this issue? AddEntityFrameworkInMemoryDatabase is not an extension that is provided by EF Core and is likely something custom that you own :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by guilhermecampello
Comment options

You must be logged in to vote
1 reply
@koenbeuk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants