public void TestTearDown() { using (var mongo = ConnectAndAuthenticatedMongo(AdminUser, AdminPass)) { mongo[TestDatabaseName].Metadata.RemoveUser(TestUser); mongo["admin"].Metadata.RemoveUser(AdminUser); } // clean connections ConnectionFactoryFactory.Shutdown(); }
public void SetUp() { ConnectionFactoryFactory.Shutdown(); }
public void TearDown() { ConnectionFactoryFactory.Shutdown(); }