Updated tests based on changes to AspNet Identity Core

Added .AddDefaultTokenProviders() after the call to ConfigureMongoDbIdentity
Note: There are four places in the test project
Added .AddAuthentication() to register all the authentication types
Fixed aspnetsettings.json IncludeScopes to empty object, not false
Updated unit test packages to latest version
Added project reference for unit test rather than package reference
Removed all references to AspNet framework assemblies as these are now part of the netcoreapp3.1
This commit is contained in:
David Barker
2021-03-03 16:04:49 +08:00
parent c39a8b3109
commit 91329b8653
8 changed files with 59 additions and 39 deletions
@@ -4,7 +4,7 @@
"DatabaseName": "MongoDbTests"
},
"Logging": {
"IncludeScopes": false,
"IncludeScopes": {},
"LogLevel": {
"Default": "Warning"
}