From 02eb5e679e1ec0215da3f5215a92314ecd7fa72b Mon Sep 17 00:00:00 2001 From: Stas Parshin Date: Sun, 29 Nov 2020 20:15:51 +0800 Subject: [PATCH] Fix setWebhook test --- .../src/test/java/com/pengrad/telegrambot/TelegramBotTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java b/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java index b6b737e7..8a1f3392 100644 --- a/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java +++ b/library/src/test/java/com/pengrad/telegrambot/TelegramBotTest.java @@ -997,7 +997,6 @@ public void setWebhook() throws IOException { if (lastErrorMessage != null) { assertTrue(lastErrorMessage.contains("SSL")); } - assertNotNull(webhookInfo.lastErrorMessage()); assertEquals(ipAddress, webhookInfo.ipAddress()); assertEquals(0, webhookInfo.pendingUpdateCount().intValue());