diff --git a/test/Microsoft.AspNet.Identity.Test/IdentityOptionsTest.cs b/test/Microsoft.AspNet.Identity.Test/IdentityOptionsTest.cs index d95decf21b..376893062a 100644 --- a/test/Microsoft.AspNet.Identity.Test/IdentityOptionsTest.cs +++ b/test/Microsoft.AspNet.Identity.Test/IdentityOptionsTest.cs @@ -63,7 +63,7 @@ namespace Microsoft.AspNet.Identity.Test {"identity:lockout:EnabledByDefault", "TRUe"}, {"identity:lockout:MaxFailedAccessAttempts", "1000"} }; - var config = new Configuration { new MemoryConfigurationSource(dic) }; + var config = new Configuration(new MemoryConfigurationSource(dic)); Assert.Equal(roleClaimType, config.Get("identity:claimsidentity:roleclaimtype")); var services = new ServiceCollection(); @@ -101,7 +101,7 @@ namespace Microsoft.AspNet.Identity.Test {"identity:user:requireUniqueEmail", "true"}, {"identity:lockout:MaxFailedAccessAttempts", "1000"} }; - var config = new Configuration { new MemoryConfigurationSource(dic) }; + var config = new Configuration(new MemoryConfigurationSource(dic)); var services = new ServiceCollection(); services.AddIdentity(config, o => { o.User.RequireUniqueEmail = false; o.Lockout.MaxFailedAccessAttempts++; });