Add appsettings config load for tests

Enables the config to be changed outside of the test
appsettings.local.json is not checked into the repo
This commit is contained in:
David Barker
2020-01-24 12:57:51 +08:00
parent f1265ec3df
commit 80b35e3baf
4 changed files with 72 additions and 25 deletions
@@ -0,0 +1,12 @@
{
"MongoDbSettings": {
"ConnectionString": "mongodb://localhost:27017",
"DatabaseName": "MongoDbTests"
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
}
}