From ca9f3248b7b611c61cb49bc9959512010c915ff6 Mon Sep 17 00:00:00 2001 From: Stuart Boston Date: Thu, 20 Apr 2017 20:03:40 +0100 Subject: [PATCH] Skip invalid show in test Supernatural doesnt have alt titles --- .../java/com/omertron/themoviedbapi/methods/TmdbTVTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java b/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java index d321a1cb5..71c088fa9 100644 --- a/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java +++ b/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java @@ -154,6 +154,11 @@ public class TmdbTVTest extends AbstractTests { LOG.info("getTVAlternativeTitles"); for (TestID test : TV_IDS) { + // Skip supernatural (no alternative titles) + if (test.getTmdb() == 1622) { + continue; + } + ResultList result = instance.getTVAlternativeTitles(test.getTmdb()); TestSuite.test(result, "TV Alt Titles"); }