protected override void SetupDatabase() { EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString); EventTestsRepository.DeleteProviders().Wait(); EventTestsRepository.DeleteFailedEvents().Wait(); EventTestsRepository.StoreLastProcessedEventId(EventName, 2).Wait(); }
protected override void SetupDatabase() { EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString); EventTestsRepository.DeleteApprenticeships().Wait(); EventTestsRepository.DeleteFailedEvents().Wait(); EventTestsRepository.StoreLastProcessedEventId("ApprenticeshipEventView", 2).Wait(); }
protected override void SetupDatabase() { EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString); EventTestsRepository.DeleteEmploymentChecks().Wait(); EventTestsRepository.DeleteFailedEvents().Wait(); EventTestsRepository.StoreLastProcessedEventId("EmploymentCheckCompleteEvent", 2).Wait(); }
protected override void SetupDatabase() { EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString); EventTestsRepository.DeleteAccounts().Wait(); EventTestsRepository.DeleteLevyDeclarations().Wait(); EventTestsRepository.DeleteEmployerAgreements().Wait(); EventTestsRepository.DeleteFailedEvents().Wait(); EventTestsRepository.StoreLastProcessedEventId(EventName, 2).Wait(); }