From 7160a4cdb378253d78b27643b27b82336822f0bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 20 Sep 2020 13:29:57 +0200 Subject: [PATCH] =?utf8?q?=E2=9C=85=20Fix=20comic=20site=20filter=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../pterodactylus/rhynodge/filters/ComicSiteFilterTest.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java b/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java index 050f68c..deff04a 100644 --- a/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java +++ b/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java @@ -36,15 +36,7 @@ public class ComicSiteFilterTest { } @Test - public void htmlWithoutTitleIsNotRecognizedAsComic() { - State state = new HtmlState("http://foo/", null); - ComicSiteFilter comicSiteFilter = new TestComicSiteFilter(null, null, null); - State newState = comicSiteFilter.filter(state); - assertThat(newState.success(), is(false)); - } - - @Test - public void htmlWithTitleButWithoutImagesIsNotRecognizedAsComic() { + public void htmlWithoutImagesIsNotRecognizedAsComic() { State state = new HtmlState("http://foo/", null); ComicSiteFilter comicSiteFilter = new TestComicSiteFilter("Title", Collections.emptyList(), null); State newState = comicSiteFilter.filter(state); -- 2.7.4