From 42c5a7be3fd48a738ccb060f3a271b975fe7cae3 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 8 Jul 2018 06:18:23 -0400 Subject: [PATCH] Changed ManganeloRipper unittest url to a smaller album, added test got getGid --- .../ripme/tst/ripper/rippers/ManganeloRipperTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java index ca355a2c..7eb1b8e9 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java @@ -7,7 +7,13 @@ import com.rarchives.ripme.ripper.rippers.ManganeloRipper; public class ManganeloRipperTest extends RippersTest { public void testRip() throws IOException { - ManganeloRipper ripper = new ManganeloRipper(new URL("http://manganelo.com/manga/black_clover")); + ManganeloRipper ripper = new ManganeloRipper(new URL("https://manganelo.com/manga/demonic_housekeeper")); testRipper(ripper); } + + public void testGetGID() throws IOException { + URL url = new URL("https://manganelo.com/manga/demonic_housekeeper"); + ManganeloRipper ripper = new ManganeloRipper(url); + assertEquals("demonic_housekeeper", ripper.getGID(url)); + } }