From: David ‘Bombe’ Roden Date: Sun, 20 Sep 2020 11:29:57 +0000 (+0200) Subject: ✅ Fix comic site filter test X-Git-Tag: v2~85 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;ds=sidebyside;h=7160a4cdb378253d78b27643b27b82336822f0bd;p=rhynodge.git ✅ Fix comic site filter test --- 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);