From a57bd72906b15ef21235939bf2bf7b1c7cb571af Mon Sep 17 00:00:00 2001 From: Andrew Anfanik Date: Mon, 19 Feb 2024 17:26:26 +0300 Subject: [PATCH] Fix ModelTest: remove story field from EqualsVerifier ignore --- library/src/test/java/com/pengrad/telegrambot/ModelTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/src/test/java/com/pengrad/telegrambot/ModelTest.java b/library/src/test/java/com/pengrad/telegrambot/ModelTest.java index f247e540..dfb9d71c 100644 --- a/library/src/test/java/com/pengrad/telegrambot/ModelTest.java +++ b/library/src/test/java/com/pengrad/telegrambot/ModelTest.java @@ -87,10 +87,6 @@ public void testEquals() throws ReflectiveOperationException { verifierApi.withIgnoredFields("forum_topic_reopened"); verifierApi.withIgnoredFields("general_forum_topic_hidden"); verifierApi.withIgnoredFields("general_forum_topic_unhidden"); - verifierApi.withIgnoredFields("story"); - } - if (c == ExternalReplyInfo.class) { - verifierApi.withIgnoredFields("story"); } verifierApi.verify();