fix(#214): update test assertion to match full success message
This commit is contained in:
@@ -915,7 +915,10 @@ class E2eIntegrationTest {
|
|||||||
viewModel.configurePlatform("telegram", mapOf("bot_token" to "xyz"))
|
viewModel.configurePlatform("telegram", mapOf("bot_token" to "xyz"))
|
||||||
advanceUntilIdle()
|
advanceUntilIdle()
|
||||||
|
|
||||||
assertEquals("telegram configured successfully", viewModel.uiState.value.toastMessage)
|
assertEquals(
|
||||||
|
"telegram configured successfully — restart the gateway for changes to take effect",
|
||||||
|
viewModel.uiState.value.toastMessage,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user