spec/Repo/Issue/Converter/GithubIssueConverterSpec.php 1 location
|
@@ 207-213 (lines=7) @@
|
204 |
|
/** |
205 |
|
* @dataProvider provideAllIssues |
206 |
|
*/ |
207 |
|
public function it_will_have_github_created_datetime_in_converted_result($arrayData) |
208 |
|
{ |
209 |
|
$result = $this->convert($arrayData); |
210 |
|
|
211 |
|
$result->getGithubCreatedAt()->shouldBeAnInstanceOf('DateTime'); |
212 |
|
$result->getGithubCreatedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['created_at']); |
213 |
|
} |
214 |
|
|
215 |
|
/** |
216 |
|
* @dataProvider provideAllIssues |
spec/Repo/Milestone/Converter/GithubMilestoneConverterSpec.php 1 location
|
@@ 190-196 (lines=7) @@
|
187 |
|
/** |
188 |
|
* @dataProvider provideAllMilestones |
189 |
|
*/ |
190 |
|
public function it_will_have_github_created_datetime_in_converted_result($arrayData) |
191 |
|
{ |
192 |
|
$result = $this->convert($arrayData); |
193 |
|
|
194 |
|
$result->getGithubCreatedAt()->shouldBeAnInstanceOf('DateTime'); |
195 |
|
$result->getGithubCreatedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['created_at']); |
196 |
|
} |
197 |
|
|
198 |
|
/** |
199 |
|
* @dataProvider provideAllMilestones |