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