예제 #1
0
 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();
 }
예제 #2
0
 protected override void SetupDatabase()
 {
     EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString);
     EventTestsRepository.DeleteProviders().Wait();
     EventTestsRepository.DeleteFailedEvents().Wait();
     EventTestsRepository.StoreLastProcessedEventId(EventName, 2).Wait();
 }
예제 #3
0
 protected override void SetupDatabase()
 {
     EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString);
     EventTestsRepository.DeleteApprenticeships().Wait();
     EventTestsRepository.DeleteFailedEvents().Wait();
     EventTestsRepository.StoreLastProcessedEventId("ApprenticeshipEventView", 2).Wait();
 }
예제 #4
0
 protected override void SetupDatabase()
 {
     EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString);
     EventTestsRepository.DeleteEmploymentChecks().Wait();
     EventTestsRepository.DeleteFailedEvents().Wait();
     EventTestsRepository.StoreLastProcessedEventId("EmploymentCheckCompleteEvent", 2).Wait();
 }
예제 #5
0
 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();
 }
예제 #6
0
 protected override void SetupDatabase()
 {
     EventTestsRepository = new EventTestsRepository(DataAcceptanceTests.Config.DatabaseConnectionString);
     EventTestsRepository.DeleteDataLocks().Wait();
     EventTestsRepository.StoreLastProcessedEventId(typeof(DataLockEvent).Name, "0").Wait();
 }