From add5644f64c86b635b62d560187c993aa7072b76 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 30 Jul 2017 00:15:33 +0100 Subject: BIG migration from Project2 based to IceTray/Slicer :D --- libtmdb/testCallMockApi.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libtmdb') diff --git a/libtmdb/testCallMockApi.cpp b/libtmdb/testCallMockApi.cpp index cb06791..9386793 100644 --- a/libtmdb/testCallMockApi.cpp +++ b/libtmdb/testCallMockApi.cpp @@ -10,11 +10,8 @@ BOOST_AUTO_TEST_CASE( search_tmdb ) { TMDb::Proxy test(MockBase, ApiKey); auto resp = test.SearchMulti("breaking bad", 1, Ice::Current()); - BOOST_REQUIRE_EQUAL(3, resp->Results.size()); - BOOST_REQUIRE_EQUAL(3, resp->TotalResults); - BOOST_REQUIRE_EQUAL(1396, resp->Results[0]->Id); - BOOST_REQUIRE_EQUAL(239459, resp->Results[1]->Id); - BOOST_REQUIRE_EQUAL(19050, resp->Results[2]->Id); + BOOST_REQUIRE(!resp->Results.empty()); + BOOST_REQUIRE(resp->TotalResults); } BOOST_AUTO_TEST_CASE( get_movie ) -- cgit v1.2.3