spec/Repo/Issue/Converter/GithubIssueConverterSpec.php 1 location
|
@@ 230-236 (lines=7) @@
|
227 |
|
/** |
228 |
|
* @dataProvider provideClosedIssues |
229 |
|
*/ |
230 |
|
public function it_will_have_github_closed_datetime_for_closed_milestones_in_converted_result($arrayData) |
231 |
|
{ |
232 |
|
$result = $this->convert($arrayData); |
233 |
|
|
234 |
|
$result->getGithubClosedAt()->shouldBeAnInstanceOf('DateTime'); |
235 |
|
$result->getGithubClosedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['closed_at']); |
236 |
|
} |
237 |
|
|
238 |
|
public function provideAllIssues() |
239 |
|
{ |
spec/Repo/Milestone/Converter/GithubMilestoneConverterSpec.php 1 location
|
@@ 233-239 (lines=7) @@
|
230 |
|
/** |
231 |
|
* @dataProvider provideClosedMilestones |
232 |
|
*/ |
233 |
|
public function it_will_have_github_closed_datetime_for_closed_milestones_in_converted_result($arrayData) |
234 |
|
{ |
235 |
|
$result = $this->convert($arrayData); |
236 |
|
|
237 |
|
$result->getGithubClosedAt()->shouldBeAnInstanceOf('DateTime'); |
238 |
|
$result->getGithubClosedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['closed_at']); |
239 |
|
} |
240 |
|
|
241 |
|
/** |
242 |
|
* @dataProvider provideOpenMilestones |