protected IntegrationTestBase( PostgresDockerContainerFixture fixture, WebApplicationFactory <Startup> factory) { Factory = factory; Factory = Factory.WithWebHostBuilder(builder => { var db = fixture.CreateDatabaseAsync(CancellationToken.None).Result; builder.ConfigureTestServices(services => { services.AddSingleton(db); }).UseSetting("Postgres:ConnectionString", db.ConnectionString) .UseSerilog((ctx, conf) => conf.Filter.ByIncludingOnly(_ => false)); }); }
public PostgresGameListProviderTest(PostgresDockerContainerFixture fixture) : base(fixture) { }
public GetGameIntegrationTest( PostgresDockerContainerFixture fixture, WebApplicationFactory <Startup> factory) : base(fixture, factory) { }
public ExchangeDeadCardIntegrationTest( PostgresDockerContainerFixture fixture, WebApplicationFactory <Startup> factory) : base(fixture, factory) { }
public PostgresGameStoreTest(PostgresDockerContainerFixture fixture) : base(fixture) { }