feat(sessions): separate conversation and automation history

This commit is contained in:
AlexDev_ committed 2026-09-05 19:55:57 +02:00
1 parent fd485a6999
commit acc9c7ce9a
9 files changed
+628 -166

No files matched your search

@@ -629,7 +629,7 @@ class E2eIntegrationTest {
runTest {
val session = SessionInfo("session-123", "Session 1", "2026-06-15T15:10:00Z", 5, "active")
coEvery {
mockApiService.getSessions(any(), any(), any())
mockApiService.getSessions(any(), any(), any(), null, "cron")
} returns Response.success(SessionListResponse(listOf(session)))
val viewModel = SessionsViewModel()
@@ -665,7 +665,7 @@ class E2eIntegrationTest {
@Test
fun testSessionsLoad_failure() =
runTest {
coEvery { mockApiService.getSessions(any(), any(), any()) } returns createErrorResponse(500)
coEvery { mockApiService.getSessions(any(), any(), any(), null, "cron") } returns createErrorResponse(500)
val viewModel = SessionsViewModel()
viewModel.loadSessions()