public WsFederationConfigurationDbContextTests() { foreach (var options in TestDatabaseProviders.SelectMany(x => x.Select(y => (DbContextOptions <WsFederationConfigurationDbContext>)y)).ToList()) { using (var ctx = new WsFederationConfigurationDbContext(options)) ctx.Database.EnsureCreated(); } }
public PersistedGrantStoreTests(DatabaseProviderFixture <PersistedGrantDbContext> fixture) { fixture.Options = TestDatabaseProviders .SelectMany(x => x.Select( y => (DbContextOptions <PersistedGrantDbContext>)y)).ToList(); fixture.StoreOptions = StoreOptions; }
public ClientStoreTests(DatabaseProviderFixture <ConfigurationDbContext> fixture) { fixture.Options = TestDatabaseProviders .SelectMany(x => x .Select(y => (DbContextOptions <ConfigurationDbContext>)y)) .ToList(); fixture.StoreOptions = StoreOptions; }
protected IntegrationTest(DatabaseProviderFixture <TDbContext> fixture) { fixture.Options = TestDatabaseProviders.SelectMany(x => x.Select(y => (DbContextOptions <TDbContext>)y)).ToList(); fixture.StoreOptions = StoreOptions; }
public ClientStoreFixture(DatabaseFixture fixture) { var testDatabases = TestDatabases.SelectMany(t => t.Select(db => (TestDatabase)db)).ToList(); fixture.TestDatabases = testDatabases; }
public CorsPolicyServiceFixture(DatabaseFixture fixture) { var testDatabases = TestDatabases.SelectMany(t => t.Select(db => (TestDatabase)db)).ToList(); fixture.TestDatabases = testDatabases; }
public TokenCleanupServiceFixture(DatabaseFixture fixture) { var testDatabases = TestDatabases.SelectMany(t => t.Select(db => (TestDatabase)db)).ToList(); fixture.TestDatabases = testDatabases; }