Fix compilation error
This commit is contained in:
parent
40006eabd3
commit
27c59e60de
@ -18,43 +18,8 @@ import org.telegram.abilitybots.api.sender.SilentSender;
|
|||||||
import org.telegram.telegrambots.meta.api.objects.User;
|
import org.telegram.telegrambots.meta.api.objects.User;
|
||||||
|
|
||||||
class AbilityBotI18nTest {
|
class AbilityBotI18nTest {
|
||||||
|
private static final User NO_LANGUAGE_USER = new User(1L, "first", false, "last", "username", null, false, false, false, false, false, false, false, false, false, false, false);
|
||||||
private static final User NO_LANGUAGE_USER = new User(1L,
|
private static final User ITALIAN_USER = new User(2L, "first", false, "last", "username", "it-IT", false, false, false, false, false, false, false, false, false, false, false);
|
||||||
"first",
|
|
||||||
false,
|
|
||||||
"last",
|
|
||||||
"username",
|
|
||||||
null,
|
|
||||||
false,
|
|
||||||
false,
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
);
|
|
||||||
private static final User ITALIAN_USER = new User(2L,
|
|
||||||
"first",
|
|
||||||
false,
|
|
||||||
"last",
|
|
||||||
"username",
|
|
||||||
"it-IT",
|
|
||||||
false,
|
|
||||||
false,
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
);
|
|
||||||
|
|
||||||
class AbilityBotI18nTest {
|
|
||||||
private static final User NO_LANGUAGE_USER = new User(1L, "first", false, "last", "username", null, false, false, false, false, false);
|
|
||||||
private static final User ITALIAN_USER = new User(2L, "first", false, "last", "username", "it-IT", false, false, false, false, false);
|
|
||||||
|
|
||||||
private DBContext db;
|
private DBContext db;
|
||||||
private NoPublicCommandsBot bot;
|
private NoPublicCommandsBot bot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user