spec/Repo/Issue/Converter/GithubIssueConverterSpec.php 1 location
|
@@ 218-224 (lines=7) @@
|
215 |
|
/** |
216 |
|
* @dataProvider provideAllIssues |
217 |
|
*/ |
218 |
|
public function it_will_have_github_last_updated_datetime_in_converted_result($arrayData) |
219 |
|
{ |
220 |
|
$result = $this->convert($arrayData); |
221 |
|
|
222 |
|
$result->getGithubUpdatedAt()->shouldBeAnInstanceOf('DateTime'); |
223 |
|
$result->getGithubUpdatedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['updated_at']); |
224 |
|
} |
225 |
|
|
226 |
|
/** |
227 |
|
* @dataProvider provideClosedIssues |
spec/Repo/Milestone/Converter/GithubMilestoneConverterSpec.php 1 location
|
@@ 221-227 (lines=7) @@
|
218 |
|
/** |
219 |
|
* @dataProvider provideAllMilestones |
220 |
|
*/ |
221 |
|
public function it_will_have_github_last_updated_datetime_in_converted_result($arrayData) |
222 |
|
{ |
223 |
|
$result = $this->convert($arrayData); |
224 |
|
|
225 |
|
$result->getGithubUpdatedAt()->shouldBeAnInstanceOf('DateTime'); |
226 |
|
$result->getGithubUpdatedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['updated_at']); |
227 |
|
} |
228 |
|
|
229 |
|
/** |
230 |
|
* @dataProvider provideClosedMilestones |