Fixes #1647
@ -73,7 +73,7 @@ class OfflineFirstNewsRepositoryTest {
@Before
fun setup() {
niaPreferencesDataSource = NiaPreferencesDataSource(
tmpFolder.testUserPreferencesDataStore(testScope),
tmpFolder.testUserPreferencesDataStore(testScope.backgroundScope),
)
newsResourceDao = TestNewsResourceDao()
topicDao = TestTopicDao()
@ -60,7 +60,7 @@ class OfflineFirstTopicsRepositoryTest {
network = TestNiaNetworkDataSource()
niaPreferences = NiaPreferencesDataSource(
synchronizer = TestSynchronizer(niaPreferences)
@ -51,7 +51,7 @@ class OfflineFirstUserDataRepositoryTest {
subject = OfflineFirstUserDataRepository(
@ -40,7 +40,7 @@ class NiaPreferencesDataSourceTest {
subject = NiaPreferencesDataSource(
}