Fix addNewsResources issue

pull/1040/head
Simon Marquis 10 months ago
parent 5a1258232f
commit a83f6691c4
No known key found for this signature in database
GPG Key ID: AC8D63F7571DC6D6

@ -55,5 +55,5 @@ class TestSearchContentsRepository : SearchContentsRepository {
* Test only method to add the news resources to the stored list in memory
*/
fun addNewsResources(newsResources: List<NewsResource>) =
cachedNewsResources.update { newsResources }
cachedNewsResources.update { it + newsResources }
}

Loading…
Cancel
Save