public UseCaseTests(FunctionTestsFixture factory, ITestOutputHelper output) { Client = factory.CreateClient(); var dbOptions = factory.DbContextOptions; _seeder = new TestDataContextSeeder(dbOptions); _output = output; }
public SchedulerControllerTests(FunctionTestsFixture factory, ITestOutputHelper output) { Client = factory.CreateClient(); var dbOptions = factory.DbContextOptions; _seeder = new TestDataContextSeeder(dbOptions); _api = new ApiTestHelper(factory.CreateClient(), output); _output = output; }
public MessageTemplateControllerTests(FunctionTestsFixture factory, ITestOutputHelper output) { Client = factory.CreateClient(); var dbOptions = factory.DbContextOptions; _seeder = new TestDataContextSeeder(dbOptions); _api = new ApiTestHelper(factory.CreateClient(), output); _output = output; _tplColidEntrySubscription = TestData.GetPreconfiguredMessageTemplates().Where(e => e.Type.Equals(MessageType.ColidEntrySubscriptionUpdate)).First(); _tplStoredQueryResult = TestData.GetPreconfiguredMessageTemplates().Where(e => e.Type.Equals(MessageType.StoredQueryResult)).First(); }
public WelcomeMessageControllerTests(FunctionTestsFixture factory, ITestOutputHelper output) { Client = factory.CreateClient(); var dbOptions = factory.DbContextOptions; _seeder = new TestDataContextSeeder(dbOptions); _api = new ApiTestHelper(factory.CreateClient(), output); _output = output; _welcomeMessageEditor = TestData.GetPreconfiguredWelcomeMessages().Where(e => e.Type.Equals(ColidType.Editor)).First(); _welcomeMessageDataMarketplace = TestData.GetPreconfiguredWelcomeMessages().Where(e => e.Type.Equals(ColidType.DataMarketplace)).First(); }