1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-06 11:28:05 -05:00

Added test case

This commit is contained in:
Reinhard Pointner 2019-04-30 00:45:35 +07:00
parent 36236c1363
commit 1182fbdc60

View File

@ -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());
}