From 0fc8afe6ccc77fb4eaa8a30ef6109a9ffa41230d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Mikul=C3=A1=C5=A1ek?= Date: Sun, 13 Apr 2025 09:41:02 +0200 Subject: [PATCH] wip: startAuthentication must be called exactly once after restart --- src/test/kotlin/LoxoneWebSocketTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/kotlin/LoxoneWebSocketTest.kt b/src/test/kotlin/LoxoneWebSocketTest.kt index 3b15573c..73ae60fc 100644 --- a/src/test/kotlin/LoxoneWebSocketTest.kt +++ b/src/test/kotlin/LoxoneWebSocketTest.kt @@ -86,6 +86,7 @@ class LoxoneWebSocketTest { sleep(2100) verify(exactly = 2) { authMock.isInitialized } + verify(exactly = 1) { authMock.startAuthentication() } } @Test