Skip to content

Commit bda6b60

Browse files
committed
[Configuration] Unit test coverage
1 parent 7eb2da0 commit bda6b60

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

presentation/src/main/res/values-ru/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<string name="version">Версия %1$s</string>
2121

2222
<string name="splash_status_initializing">Инициализация…</string>
23-
<string name="splash_status_fetching">Загрузка занных…</string>
23+
<string name="splash_status_fetching">Загрузка данных…</string>
2424
<string name="splash_status_launching">Запуск приложения!</string>
2525

2626
<string name="local_no_img2img_support_title">Не доступно</string>

presentation/src/test/java/com/shifthackz/aisdv1/presentation/screen/setup/ServerSetupViewModelTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ class ServerSetupViewModelTest : CoreViewModelTest<ServerSetupViewModel>() {
182182

183183
@Test
184184
fun `given received LocalModel ClickReduce intent, model is downloading, expected UI state is Unknown`() {
185+
every {
186+
stubDeleteModelUseCase.invoke(any())
187+
} returns Completable.complete()
188+
185189
val localModel = mockServerSetupStateLocalModel.copy(
186190
downloadState = DownloadState.Downloading(22),
187191
)

0 commit comments

Comments
 (0)