Fixed hypnohub unit test

This commit is contained in:
cyian-1756 2018-04-29 12:50:44 -04:00
parent 60d5f95f93
commit 24f1b4fbdc

View File

@ -17,9 +17,9 @@ public class HypnohubRipperTest extends RippersTest {
public void testGetGID() throws IOException {
URL poolURL = new URL("http://hypnohub.net/pool/show/2303");
HypnohubRipper ripper = new HypnohubRipper(poolURL);
assertEquals("hypnohub_2303", ripper.getGID(poolURL));
assertEquals("2303", ripper.getGID(poolURL));
URL postURL = new URL("http://hypnohub.net/post/show/63464/black_hair-bracelet-collar-corruption-female_only-");
assertEquals("hypnohub_63464_black_hair-bracelet-collar-corruption-female_only-", ripper.getGID(postURL));
assertEquals("63464_black_hair-bracelet-collar-corruption-female_only-", ripper.getGID(postURL));
}
}