diff --git a/app/src/androidTest/java/de/jeanlucmakiola/calendula/data/calendar/CalendarRepositorySmokeTest.kt b/app/src/androidTest/java/de/jeanlucmakiola/calendula/data/calendar/CalendarRepositorySmokeTest.kt index fd76ebc..d6eea3f 100644 --- a/app/src/androidTest/java/de/jeanlucmakiola/calendula/data/calendar/CalendarRepositorySmokeTest.kt +++ b/app/src/androidTest/java/de/jeanlucmakiola/calendula/data/calendar/CalendarRepositorySmokeTest.kt @@ -9,6 +9,7 @@ import androidx.test.platform.app.InstrumentationRegistry import androidx.test.rule.GrantPermissionRule import com.google.common.truth.Truth.assertThat import de.jeanlucmakiola.calendula.data.prefs.CalendarPrefs +import de.jeanlucmakiola.calendula.data.prefs.SettingsPrefs import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.first import kotlinx.coroutines.runBlocking @@ -31,7 +32,12 @@ class CalendarRepositorySmokeTest { val store: DataStore = PreferenceDataStoreFactory.create( produceFile = { context.cacheDir.resolve("smoke_test_prefs.preferences_pb") }, ) - return CalendarRepositoryImpl(dataSource, CalendarPrefs(store), Dispatchers.IO) + return CalendarRepositoryImpl( + dataSource, + CalendarPrefs(store), + SettingsPrefs(store), + Dispatchers.IO, + ) } @Test