From 638acaef1147d19317df6f751f471eb40a3617e7 Mon Sep 17 00:00:00 2001 From: Stas Parshin <2172170+pengrad@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:33:05 +0700 Subject: [PATCH] Fix getChatAdministrators test --- .../test/java/com/pengrad/telegrambot/TelegramBotTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java b/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java index d2ade137..d83ecb29 100644 --- a/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java +++ b/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java @@ -526,9 +526,9 @@ public void getChatAdministrators() { assertTrue(chatMember.canManageChat()); assertTrue(chatMember.canManageChat()); assertTrue(chatMember.canManageChat()); - assertFalse(chatMember.canPostStories()); - assertFalse(chatMember.canEditStories()); - assertFalse(chatMember.canDeleteStories()); + assertTrue(chatMember.canPostStories()); + assertTrue(chatMember.canEditStories()); + assertTrue(chatMember.canDeleteStories()); } } }