Skip to content

Commit

Permalink
Updating PeopleRepositoryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 23, 2014
1 parent b6a06ab commit 70f51aa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions test/Tmdb/Tests/Repository/PeopleRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,36 @@ public function shouldLoadPerson()
$repository->load(self::PERSON_ID);
}

/**
* @test
*/
public function souldGetMovieCredits()
{
$repository = $this->getRepositoryWithMockedHttpClient();

$repository->getMovieCredits(self::PERSON_ID);
}

/**
* @test
*/
public function souldGetTvCredits()
{
$repository = $this->getRepositoryWithMockedHttpClient();

$repository->getTvCredits(self::PERSON_ID);
}

/**
* @test
*/
public function souldGetCombinedCredits()
{
$repository = $this->getRepositoryWithMockedHttpClient();

$repository->getCombinedCredits(self::PERSON_ID);
}

protected function getApiClass()
{
return 'Tmdb\Api\People';
Expand Down

0 comments on commit 70f51aa

Please sign in to comment.