File tree 1 file changed +1
-2
lines changed
library/src/test/java/com/pengrad/telegrambot
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 6
6
import com .pengrad .telegrambot .model .botcommandscope .BotCommandScopeAllChatAdministrators ;
7
7
import com .pengrad .telegrambot .model .chatboost .ChatBoost ;
8
8
import com .pengrad .telegrambot .model .giveaway .Giveaway ;
9
- import com .pengrad .telegrambot .model .reaction .ReactionType ;
10
9
import com .pengrad .telegrambot .model .reaction .ReactionTypeEmoji ;
11
10
import com .pengrad .telegrambot .model .request .*;
12
11
import com .pengrad .telegrambot .passport .*;
@@ -468,7 +467,7 @@ public void answerCallback() {
468
467
public void getChat () throws MalformedURLException , URISyntaxException {
469
468
ChatFullInfo chat = bot .execute (new GetChat (groupId )).chat ();
470
469
ChatTest .checkFullInfoChat (chat , true );
471
- assertEquals (Chat .Type .supergroup , chat .type ());
470
+ assertEquals (ChatFullInfo .Type .supergroup , chat .type ());
472
471
assertTrue (chat .title ().contains ("Test Bot Group" ));
473
472
assertTrue (chat .description ().contains ("New desc" ));
474
473
assertEquals (Integer .valueOf (10 ), chat .slowModeDelay ());
You can’t perform that action at this time.
0 commit comments