aboutsummaryrefslogtreecommitdiff
path: root/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-11-18 14:45:22 -0800
committerGitHub <noreply@github.com>2021-11-18 14:45:22 -0800
commit4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d (patch)
tree859d3dc7021d31f807c5ad90ddea31f711fa793d /sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt
parente2ac8e3e82b842ea05c8c7a2c92d566553d8ea91 (diff)
parenta9b8b69ab5e053e9106a98564e3a4047628387d6 (diff)
downloadkau-4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d.tar.gz
kau-4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d.tar.bz2
kau-4c06d0ae4a4b2c8450ec68dd9b64d472cdd0202d.zip
Merge pull request #270 from AllanWang/versions6.4.0
Diffstat (limited to 'sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt')
-rw-r--r--sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt b/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt
index 1615d2f..aef1060 100644
--- a/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt
+++ b/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/test/TestModules.kt
@@ -26,7 +26,8 @@ import dagger.hilt.testing.TestInstallIn
@Module
@TestInstallIn(
components = [SingletonComponent::class],
- replaces = [PrefFactoryModule::class])
+ replaces = [PrefFactoryModule::class]
+)
object PrefFactoryTestModule {
@Provides
fun factory(): KPrefFactory = KPrefFactoryInMemory