Code Duplication    Length = 7-7 lines in 2 locations

spec/Repo/Issue/Converter/GithubIssueConverterSpec.php 1 location

@@ 229-235 (lines=7) @@
226
    /**
227
     * @dataProvider provideClosedIssues
228
     */
229
    public function it_will_have_github_closed_datetime_for_closed_milestones_in_converted_result($arrayData)
230
    {
231
        $result = $this->convert($arrayData);
232
233
        $result->getGithubClosedAt()->shouldBeAnInstanceOf('DateTime');
234
        $result->getGithubClosedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['closed_at']);
235
    }
236
237
    public function provideAllIssues()
238
    {

spec/Repo/Milestone/Converter/GithubMilestoneConverterSpec.php 1 location

@@ 232-238 (lines=7) @@
229
    /**
230
     * @dataProvider provideClosedMilestones
231
     */
232
    public function it_will_have_github_closed_datetime_for_closed_milestones_in_converted_result($arrayData)
233
    {
234
        $result = $this->convert($arrayData);
235
236
        $result->getGithubClosedAt()->shouldBeAnInstanceOf('DateTime');
237
        $result->getGithubClosedAt()->format('Y-m-d\TH:i:s\Z')->shouldBe($arrayData['closed_at']);
238
    }
239
240
    /**
241
     * @dataProvider provideOpenMilestones