✅ Fix comic site filter test
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 20 Sep 2020 11:29:57 +0000 (13:29 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 20 Sep 2020 11:29:57 +0000 (13:29 +0200)
src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java

index 050f68c..deff04a 100644 (file)
@@ -36,15 +36,7 @@ public class ComicSiteFilterTest {
        }
 
        @Test
        }
 
        @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.<String>emptyList(), null);
                State newState = comicSiteFilter.filter(state);
                State state = new HtmlState("http://foo/", null);
                ComicSiteFilter comicSiteFilter = new TestComicSiteFilter("Title", Collections.<String>emptyList(), null);
                State newState = comicSiteFilter.filter(state);