Skip to content

Commit 6999035

Browse files
committed
test: #16 Do not break the current bot tests - switch to non-"private" chat type in the test bot update.
1 parent 5d8394d commit 6999035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/com/dv/telegram/BotTestUtils.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ object BotTestUtils {
184184
fun getUpdate(): Update {
185185
val chat = Chat()
186186
chat.id = 123456789
187-
chat.type = "private"
187+
chat.type = "group" // not "private", bot name required
188188
chat.title = "Test fake chat title"
189189

190190
val message = Message()

0 commit comments

Comments
 (0)