tests/Repo/PaginatedKnpLabsRepoFacadeTest.php 1 location
|
@@ 166-174 (lines=9) @@
|
163 |
|
/** |
164 |
|
* @return \DevBoardLib\GithubCore\Repo\GithubRepo |
165 |
|
*/ |
166 |
|
private function provideTestRepo() |
167 |
|
{ |
168 |
|
$githubRepo = m::mock('DevBoardLib\GithubCore\Repo\GithubRepo'); |
169 |
|
$githubRepo->shouldReceive('getOwner')->andReturn('devboard'); |
170 |
|
$githubRepo->shouldReceive('getName')->andReturn('test-hitman'); |
171 |
|
$githubRepo->shouldReceive('getFullName')->andReturn('devboard/test-hitman'); |
172 |
|
|
173 |
|
return $githubRepo; |
174 |
|
} |
175 |
|
|
176 |
|
/** |
177 |
|
* @return \DevBoardLib\GithubApiFacade\Auth\GithubAccessToken |
tests/Repo/RepoFacadeFactoryTest.php 1 location
|
@@ 26-33 (lines=8) @@
|
23 |
|
/** |
24 |
|
* @return \DevBoardLib\GithubCore\Repo\GithubRepo |
25 |
|
*/ |
26 |
|
private function provideTestRepo() |
27 |
|
{ |
28 |
|
$githubRepo = m::mock('DevBoardLib\GithubCore\Repo\GithubRepo'); |
29 |
|
$githubRepo->shouldReceive('getOwner')->andReturn('devboard'); |
30 |
|
$githubRepo->shouldReceive('getName')->andReturn('test-hitman'); |
31 |
|
|
32 |
|
return $githubRepo; |
33 |
|
} |
34 |
|
|
35 |
|
/** |
36 |
|
* @return \DevBoardLib\GithubApiFacade\Auth\GithubAccessToken |