/// <summary>
 /// Purges all tables used in these tests.
 /// </summary>
 public void Dispose()
 {
     DatabasePurger.PurgeBatches();
     DatabasePurger.PurgeCustomBatchProps();
     DatabasePurger.PurgeLocations();
     DatabasePurger.PurgeMaterials();
     DatabasePurger.PurgePlastics();
 }
Example #2
0
 /// <summary>
 /// Purges all tables used in these tests.
 /// </summary>
 public void Dispose()
 {
     DatabasePurger.PurgeTransactions();
     DatabasePurger.PurgeBatches();
     DatabasePurger.PurgeLocations();
     DatabasePurger.PurgeMaterials();
     DatabasePurger.PurgePlastics();
     DatabasePurger.PurgeUsers();
 }
 /// <summary>
 /// Sets up the SUT and needed services and and cleans up locations tbales.
 /// </summary>
 public LocationsRepositoryTests()
 {
     Repository = new PostgreSqlLocationsRepository(ConfigurationProvider.GetConfiguration());
     DatabasePurger.PurgeLocations();
 }
 /// <summary>
 /// Pruges all locations.
 /// </summary>
 public void Dispose()
 {
     DatabasePurger.PurgeLocations();
 }