|
@@ 50-57 (lines=8) @@
|
| 47 |
|
); |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
public function it_will_return_all_repo_milestones($repoFacade, $githubMilestoneConverter) |
| 51 |
|
{ |
| 52 |
|
$repoFacade->fetchAllMilestones()->willReturn([['milestone-data']]); |
| 53 |
|
|
| 54 |
|
$githubMilestoneConverter->convert(['milestone-data'])->willReturn('converted'); |
| 55 |
|
|
| 56 |
|
$this->fetchAllMilestones()->shouldReturn(['converted']); |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function it_will_return_all_repo_issues($repoFacade, $githubIssueConverter) |
| 60 |
|
{ |
|
@@ 59-65 (lines=7) @@
|
| 56 |
|
$this->fetchAllMilestones()->shouldReturn(['converted']); |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function it_will_return_all_repo_issues($repoFacade, $githubIssueConverter) |
| 60 |
|
{ |
| 61 |
|
$repoFacade->fetchAllIssues()->willReturn([['milestone-data']]); |
| 62 |
|
$githubIssueConverter->convert(['milestone-data'])->willReturn('converted'); |
| 63 |
|
|
| 64 |
|
$this->fetchAllIssues()->shouldReturn(['converted']); |
| 65 |
|
} |
| 66 |
|
} |
| 67 |
|
|