Tear down database after db cleanup test

This commit is contained in:
ByteHamster 2021-01-02 11:47:59 +01:00
parent c4f73bb413
commit e96affe3c7

View File

@ -64,7 +64,9 @@ public class DbNullCleanupAlgorithmTest {
@After @After
public void tearDown() { public void tearDown() {
assertTrue(PodDBAdapter.deleteDatabase()); DBWriter.tearDownTests();
PodDBAdapter.deleteDatabase();
PodDBAdapter.tearDownTests();
cleanupDestFolder(destFolder); cleanupDestFolder(destFolder);
assertTrue(destFolder.delete()); assertTrue(destFolder.delete());