Fixed hypnohub unit test
This commit is contained in:
parent
60d5f95f93
commit
24f1b4fbdc
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user