mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-22 06:43:45 +01:00
Let test wait until database operation is completed
This commit is contained in:
parent
b35eaa4fa5
commit
a0813db189
@ -800,7 +800,7 @@ public class DbWriterTest {
|
||||
assertTrue(item.getId() != 0);
|
||||
}
|
||||
|
||||
DBWriter.removeAllNewFlags();
|
||||
DBWriter.removeAllNewFlags().get();
|
||||
List<FeedItem> loadedItems = DBReader.getFeedItemList(feed);
|
||||
for (FeedItem item : loadedItems) {
|
||||
assertFalse(item.isNew());
|
||||
|
Loading…
Reference in New Issue
Block a user