ExportImportTest: only cleanup if necessary.

This commit is contained in:
Dennis Guse
2021-07-11 20:49:40 +02:00
parent 29aefff788
commit 0332b9eb87
@@ -142,7 +142,9 @@ public class ExportImportTest {
@After
public void tearDown() {
contentProviderUtils.deleteTrack(context, trackId);
if (trackId != null) {
contentProviderUtils.deleteTrack(context, trackId);
}
if (importTrackId != null) {
contentProviderUtils.deleteTrack(context, importTrackId);
}