1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

Actialize bot action tests

This commit is contained in:
InsanusMokrassar 2020-02-07 10:49:16 +06:00
parent c2c7ac0d1e
commit fe8c3392fa

View File

@ -26,6 +26,8 @@ class BotActionTests {
UploadAudioAction -> example.botAction.actionName UploadAudioAction -> example.botAction.actionName
UploadDocumentAction -> example.botAction.actionName UploadDocumentAction -> example.botAction.actionName
FindLocationAction -> example.botAction.actionName FindLocationAction -> example.botAction.actionName
RecordVideoNoteAction -> example.botAction.actionName
UploadVideoNoteAction -> example.botAction.actionName
} }
) )
} }
@ -52,7 +54,9 @@ class BotActionTests {
RecordAudioAction.example(), RecordAudioAction.example(),
UploadAudioAction.example(), UploadAudioAction.example(),
UploadDocumentAction.example(), UploadDocumentAction.example(),
FindLocationAction.example() FindLocationAction.example(),
RecordVideoNoteAction.example(),
UploadVideoNoteAction.example()
).forEach { ).forEach {
checkBotActionSerializeDeserialize(it) checkBotActionSerializeDeserialize(it)
} }