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