From 3c11382bfdabee6ad91a115f7669a78165b0c10d Mon Sep 17 00:00:00 2001 From: Michael Roterman Date: Sun, 23 Feb 2014 02:24:40 +0100 Subject: [PATCH] Updating TvRepositoryTest --- .../Tests/Repository/TvRepositoryTest.php | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/test/Tmdb/Tests/Repository/TvRepositoryTest.php b/test/Tmdb/Tests/Repository/TvRepositoryTest.php index a77cc3a2..ec992b05 100644 --- a/test/Tmdb/Tests/Repository/TvRepositoryTest.php +++ b/test/Tmdb/Tests/Repository/TvRepositoryTest.php @@ -36,6 +36,56 @@ public function shouldGetPopular() $repository->getPopular(); } + /** + * @test + */ + public function shouldGetCredits() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getCredits(self::TV_ID); + } + + /** + * @test + */ + public function shouldGetExternalIds() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getExternalIds(self::TV_ID); + } + + /** + * @test + */ + public function shouldGetImages() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getImages(self::TV_ID); + } + + /** + * @test + */ + public function shouldGetTranslations() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getTranslations(self::TV_ID); + } + + /** + * @test + */ + public function shouldGetOnTheAir() + { + $repository = $this->getRepositoryWithMockedHttpClient(); + + $repository->getOnTheAir(); + } + /** * @test */