From 9eae45c73ac4035b62121590adf0d26287d82a66 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 1 Apr 2022 21:12:29 +0100 Subject: [PATCH] updating settings item tests --- .../test/kotlin/app/dapk/st/settings/SettingsItemFactoryTest.kt | 2 ++ .../test/kotlin/app/dapk/st/settings/SettingsViewModelTest.kt | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsItemFactoryTest.kt b/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsItemFactoryTest.kt index 6d9be17..3d737ab 100644 --- a/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsItemFactoryTest.kt +++ b/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsItemFactoryTest.kt @@ -20,6 +20,8 @@ class SettingsItemFactoryTest { aSettingHeaderItem("General"), aSettingTextItem(SettingItem.Id.Encryption, "Encryption"), aSettingTextItem(SettingItem.Id.EventLog, "Event log"), + aSettingHeaderItem("Data"), + aSettingTextItem(SettingItem.Id.ClearCache, "Clear cache"), aSettingHeaderItem("Account"), aSettingTextItem(SettingItem.Id.SignOut, "Sign out"), aSettingHeaderItem("About"), diff --git a/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsViewModelTest.kt b/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsViewModelTest.kt index b8ca7e1..51f79c8 100644 --- a/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsViewModelTest.kt +++ b/features/settings/src/test/kotlin/app/dapk/st/settings/SettingsViewModelTest.kt @@ -29,7 +29,6 @@ internal class SettingsViewModelTest { private val runViewModelTest = ViewModelTest() - private val fakeCredentialsStore = FakeCredentialsStore() private val fakeStoreCleaner = FakeStoreCleaner() private val fakeContentResolver = FakeContentResolver() private val fakeCryptoService = FakeCryptoService()