File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
library/src/test/java/com/pengrad/telegrambot Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -362,6 +362,7 @@ public void getChatAdministrators() {
362362
363363 @ Test
364364 public void getChatMember () {
365+ restrictChatMember ();
365366 ChatMember chatMember = bot .execute (new GetChatMember (groupId , memberBot )).chatMember ();
366367 ChatMemberTest .check (chatMember );
367368 assertEquals (ChatMember .Status .restricted , chatMember .status ());
@@ -971,15 +972,13 @@ public void setChatStickerSet() {
971972 BaseResponse response = bot .execute (new SetChatStickerSet (groupId , "PengradTest" ));
972973 assertFalse (response .isOk ());
973974 assertEquals (400 , response .errorCode ());
974- assertEquals ("Bad Request: can't set channel sticker set" , response .description ());
975975 }
976976
977977 @ Test
978978 public void deleteChatStickerSet () {
979979 BaseResponse response = bot .execute (new DeleteChatStickerSet (groupId ));
980980 assertFalse (response .isOk ());
981981 assertEquals (400 , response .errorCode ());
982- assertEquals ("Bad Request: can't set channel sticker set" , response .description ());
983982 }
984983
985984 @ Test
You can’t perform that action at this time.
0 commit comments