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
|
@@ 201-207 (lines=7) @@
|
198 |
|
/** |
199 |
|
* @dataProvider provideAllMilestones |
200 |
|
*/ |
201 |
|
public function it_will_have_github_last_updated_datetime_in_converted_result($arrayData) |
202 |
|
{ |
203 |
|
$result = $this->convert($arrayData); |
204 |
|
|
205 |
|
$result->getGithubUpdatedAt()->shouldBeAnInstanceOf('DateTime'); |
206 |
|
$result->getGithubUpdatedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['updated_at']); |
207 |
|
} |
208 |
|
|
209 |
|
/** |
210 |
|
* @dataProvider provideClosedMilestones |