/// <summary>
 /// Purges all tables used in these tests.
 /// </summary>
 public void Dispose()
 {
     DatabasePurger.PurgeBatches();
     DatabasePurger.PurgeCustomBatchProps();
     DatabasePurger.PurgeLocations();
     DatabasePurger.PurgeMaterials();
     DatabasePurger.PurgePlastics();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Purges custom batch props.
 /// </summary>
 public void Dispose()
 {
     DatabasePurger.PurgeCustomBatchProps();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets up all needed repositories and purges related tables.
 /// </summary>
 public CustomBatchPropRepositoryTests()
 {
     Repository = new PostgreSqlCustomBatchPropRepository(ConfigurationProvider.GetConfiguration());
     DatabasePurger.PurgeCustomBatchProps();
 }