public MartenRoleStoreTests(ITestOutputHelper testOutputHelper) { _fixture = new Fixture(); _testOutputHelper = testOutputHelper; _documentStore = new Mock <IDocumentStore>(); _roleStore = new MartenRoleStore <IdentityRole>(_documentStore.Object, new NullLogger <MartenRoleStore <IdentityRole> >()); }
public MartenRoleStoreTests(ITestOutputHelper testOutputHelper) { _testOutputHelper = testOutputHelper; _fixture = new Fixture(); var store = DocumentStoreManager.GetMartenDocumentStore(typeof(MartenRoleStoreTests)); _roleStore = new MartenRoleStore <IdentityRole>(store, new NullLogger <MartenRoleStore <IdentityRole> >()); }
public MartenRoleStoreTests(ITestOutputHelper testOutputHelper, PostgresSqlFixture postgresSqlFixture) { _testOutputHelper = testOutputHelper; _fixture = new Fixture(); var store = DocumentStoreManager.GetMartenDocumentStore(typeof(MartenRoleStoreTests), postgresSqlFixture.ConnectionString); _roleStore = new MartenRoleStore <IdentityRole>(store, new NullLogger <MartenRoleStore <IdentityRole> >()); }