|
@@ 27-34 (lines=8) @@
|
| 24 |
|
$this->beConstructedWith($repoFacade, $githubIssueConverter, $githubMilestoneConverter); |
| 25 |
|
} |
| 26 |
|
|
| 27 |
|
public function it_will_return_all_repo_milestones($repoFacade, $githubMilestoneConverter) |
| 28 |
|
{ |
| 29 |
|
$repoFacade->fetchAllMilestones()->willReturn(['data']); |
| 30 |
|
|
| 31 |
|
$githubMilestoneConverter->convert('data')->willReturn('converted'); |
| 32 |
|
|
| 33 |
|
$this->fetchAllMilestones()->shouldReturn(['converted']); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public function it_will_return_all_repo_issues($repoFacade, $githubIssueConverter) |
| 37 |
|
{ |
|
@@ 36-42 (lines=7) @@
|
| 33 |
|
$this->fetchAllMilestones()->shouldReturn(['converted']); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public function it_will_return_all_repo_issues($repoFacade, $githubIssueConverter) |
| 37 |
|
{ |
| 38 |
|
$repoFacade->fetchAllIssues()->willReturn(['data']); |
| 39 |
|
$githubIssueConverter->convert('data')->willReturn('converted'); |
| 40 |
|
|
| 41 |
|
$this->fetchAllIssues()->shouldReturn(['converted']); |
| 42 |
|
} |
| 43 |
|
} |
| 44 |
|
|