Closed tschennie closed 1 year ago
Hi @tschennie,
The CreateUniqueMethodOptions<TContext>
and other similar use the normal .NET access the project's configuration. This means if you Enable secret storage on the your test project, then you can set up a secret that overrides the appsettings.json version.
The connection strings names can be found here.
For our integration tests, we created a DbContext like this:
How is it possible to use the connection string from the secrets.json?