From 2dd71d12602938a2ecd94b712e37220617deaeda Mon Sep 17 00:00:00 2001 From: Martin Fietz Date: Tue, 15 Dec 2015 16:20:28 +0100 Subject: [PATCH] Test: Close cursor --- .../java/de/test/antennapod/storage/DBWriterTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/androidTest/java/de/test/antennapod/storage/DBWriterTest.java b/app/src/androidTest/java/de/test/antennapod/storage/DBWriterTest.java index d61d4ab52..eaae9323c 100644 --- a/app/src/androidTest/java/de/test/antennapod/storage/DBWriterTest.java +++ b/app/src/androidTest/java/de/test/antennapod/storage/DBWriterTest.java @@ -189,6 +189,7 @@ public class DBWriterTest extends InstrumentationTestCase { c.close(); c = adapter.getSimpleChaptersOfFeedItemCursor(item); assertEquals(0, c.getCount()); + c.close(); } }