protected override void SetupDatabase() { EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString); EventTestsRepository.DeletePayments().Wait(); EventTestsRepository.DeleteTransfers().Wait(); EventTestsRepository.StoreLastProcessedEventId("PeriodEnd-Payment", "PERIOD2").Wait(); EventTestsRepository.StoreLastProcessedEventId("PeriodEnd-AccountTransfer", "PERIOD2").Wait(); }
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(); }
protected override void SetupDatabase() { EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString); EventTestsRepository.DeleteDataLocks().Wait(); EventTestsRepository.StoreLastProcessedEventId(typeof(DataLockEvent).Name, "0").Wait(); }