public void TestSetUp() { DevKit = new DevKit141Aspect(TestContext); var config = new NameValueCollection(ConfigurationManager.AppSettings); Provider = new MongoDbMembershipProvider(); Provider.Initialize(MongoDbMembershipProvider.ProviderName, config); }
private static MongoDbMembershipProvider GetProvider() { var config = new NameValueCollection(ConfigurationManager.AppSettings); var provider = new MongoDbMembershipProvider(); provider.Initialize(MongoDbMembershipProvider.ProviderName, config); return(provider); }