From 9bf8f5625457cb99039aaaac63bdae568aba8da3 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 29 Aug 2020 19:52:46 +0600 Subject: [PATCH] update SimpleInputFilesTest --- .../insanusmokrassar/TelegramBotAPI/SimpleInputFilesTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/TelegramBotAPI-core/src/commonTest/kotlin/com/github/insanusmokrassar/TelegramBotAPI/SimpleInputFilesTest.kt b/TelegramBotAPI-core/src/commonTest/kotlin/com/github/insanusmokrassar/TelegramBotAPI/SimpleInputFilesTest.kt index b3fa9127e2..1da2a34a55 100644 --- a/TelegramBotAPI-core/src/commonTest/kotlin/com/github/insanusmokrassar/TelegramBotAPI/SimpleInputFilesTest.kt +++ b/TelegramBotAPI-core/src/commonTest/kotlin/com/github/insanusmokrassar/TelegramBotAPI/SimpleInputFilesTest.kt @@ -24,6 +24,7 @@ class SimpleInputFilesTest { ) ) val inputMedia = photoContent.toMediaGroupMemberInputMedia() + assertEquals(photoContent.media.fileId, inputMedia.file) val encoded = nonstrictJsonFormat.encodeToString( MediaGroupMemberInputMediaSerializer, inputMedia