From 4e247076ec5a30820f7cfc4e06dc22899085ff4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 26 Aug 2015 18:51:07 +0200 Subject: [PATCH] Make tests match the new behaviour --- .../java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java b/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java index a449708..050f68c 100644 --- a/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java +++ b/src/test/java/net/pterodactylus/rhynodge/filters/ComicSiteFilterTest.java @@ -40,7 +40,7 @@ public class ComicSiteFilterTest { State state = new HtmlState("http://foo/", null); ComicSiteFilter comicSiteFilter = new TestComicSiteFilter(null, null, null); State newState = comicSiteFilter.filter(state); - assertThat(newState instanceof ComicState, is(true)); + assertThat(newState.success(), is(false)); } @Test @@ -48,7 +48,7 @@ public class ComicSiteFilterTest { State state = new HtmlState("http://foo/", null); ComicSiteFilter comicSiteFilter = new TestComicSiteFilter("Title", Collections.emptyList(), null); State newState = comicSiteFilter.filter(state); - assertThat(newState instanceof ComicState, is(true)); + assertThat(newState.success(), is(false)); } @Test -- 2.7.4