communicate: fix missing encodeNode import in test fake
- Commit
415f556e45f91bb5e2eeae7dd781c3065ea4f8ce- Author
- Vayun Mathur <[email protected]>
- When
- 2026-11-07 11:50 UTC (29 days ago)
- Parents
71e8ebc
FakeWhatsAppTransport imported decodeNode but not encodeNode, so the module's unit tests did not compile on main. Add the missing import. (cherry picked from commit e11105bf8a4a09b9ca9a47e7d1cb6265b3191bc6)
Diff
communicate/src/test/java/com/vayunmathur/communicate/data/whatsapp/transport/FakeWhatsAppTransport.kt
diff --git a/communicate/src/test/java/com/vayunmathur/communicate/data/whatsapp/transport/FakeWhatsAppTransport.kt b/communicate/src/test/java/com/vayunmathur/communicate/data/whatsapp/transport/FakeWhatsAppTransport.ktindex 66ae36a58f..fb151d952c 100644--- a/communicate/src/test/java/com/vayunmathur/communicate/data/whatsapp/transport/FakeWhatsAppTransport.kt+++ b/communicate/src/test/java/com/vayunmathur/communicate/data/whatsapp/transport/FakeWhatsAppTransport.kt@@ -2,6 +2,7 @@ package com.vayunmathur.communicate.data.whatsapp.transport import com.vayunmathur.communicate.data.whatsapp.WhatsAppProtocol import com.vayunmathur.communicate.data.whatsapp.decodeNode+import com.vayunmathur.communicate.data.whatsapp.encodeNode import java.util.concurrent.CopyOnWriteArrayList import kotlinx.coroutines.delay import kotlinx.coroutines.flow.MutableSharedFlow