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