Gfycat Tests & Fix for bad reddit submissions

Final few test tweaks.
Everything's working now.
Task #361 - Some gfycat doesn't work
This commit is contained in:
Kevin Jiang 2018-01-05 17:38:30 -05:00
parent 8cee441252
commit 16efd06e3f

View File

@ -30,7 +30,7 @@ public class RedditRipperTest extends RippersTest {
* @throws IOException * @throws IOException
*/ */
public void testRedditGfyGoodURL() throws IOException { public void testRedditGfyGoodURL() throws IOException {
GfycatRipper ripper = new GfycatRipper(new URL("https://www.reddit.com/r/bottesting/comments/7msozf/good_link/")); RedditRipper ripper = new RedditRipper(new URL("https://www.reddit.com/r/bottesting/comments/7msozf/good_link/"));
testRipper(ripper); testRipper(ripper);
} }
@ -41,7 +41,7 @@ public class RedditRipperTest extends RippersTest {
* @throws IOException * @throws IOException
*/ */
public void testRedditGfyBadURL() throws IOException { public void testRedditGfyBadURL() throws IOException {
GfycatRipper ripper = new GfycatRipper(new URL("https://www.reddit.com/r/bottesting/comments/7msmhi/bad_link/")); RedditRipper ripper = new RedditRipper(new URL("https://www.reddit.com/r/bottesting/comments/7msmhi/bad_link/"));
testRipper(ripper); testRipper(ripper);
} }
} }