From 91b86d9fd00b5a6cad3f35954b68286cd4c8d305 Mon Sep 17 00:00:00 2001 From: Stuart Boston Date: Sat, 7 Mar 2015 20:34:38 +0000 Subject: [PATCH] fixed tests --- .../java/com/omertron/themoviedbapi/methods/TmdbTVTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java b/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java index 1bdfb5741..44b93990d 100644 --- a/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java +++ b/src/test/java/com/omertron/themoviedbapi/methods/TmdbTVTest.java @@ -343,7 +343,8 @@ public class TmdbTVTest extends AbstractTests { LOG.info("getTVLatest"); TVInfo result = instance.getLatestTV(); - TestSuite.test(result); + assertTrue("Missing ID", result.getId() > 0); + assertTrue("Missing Name", StringUtils.isNotBlank(result.getName())); } /**