Skip to content

Commit

Permalink
Updating TvRepositoryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 23, 2014
1 parent 3b6d993 commit 3c11382
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions test/Tmdb/Tests/Repository/TvRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 3c11382

Please sign in to comment.