Browse Source

Added test case

master
Reinhard Pointner 4 years ago
parent
commit
1182fbdc60
  1. 1
      test/net/filebot/media/MediaDetectionTest.java

1
test/net/filebot/media/MediaDetectionTest.java

@ -35,6 +35,7 @@ public class MediaDetectionTest { @@ -35,6 +35,7 @@ public class MediaDetectionTest {
@Test
public void grepTheTvdbId() throws Exception {
assertEquals("[78874]", MediaDetection.grepTheTvdbId("@see http://www.thetvdb.com/?tab=series&id=78874&lid=14").toString());
assertEquals("[78874]", MediaDetection.grepTheTvdbId("@see http://www.thetvdb.com/?tab=series&id=78874&lid=14").toString());
assertEquals("[78874]", MediaDetection.grepTheTvdbId("@see http://thetvdb.com/?tab=series&id=78874&lid=14").toString());
assertEquals("[78874]", MediaDetection.grepTheTvdbId("@see https://www.thetvdb.com/?tab=seasonall&id=78874&lid=14").toString());
}

Loading…
Cancel
Save