Code Duplication    Length = 7-7 lines in 2 locations

tests/Receiver/MiscellaneousTest.php 2 locations

@@ 183-189 (lines=7) @@
180
    /**
181
     * Test render markdown text
182
     */
183
    public function testRender()
184
    {
185
        $output = $this->markdown->render('Hello world FlexyProject/GitHubAPI#43 **cool**, and #43!');
186
187
        $this->assertEquals('<p>Hello world FlexyProject/GitHubAPI#43 <strong>cool</strong>, and #43!</p>',
188
            str_replace(["\r\n", "\r", "\n"], "", $output[0]));
189
    }
190
191
    /**
192
     * Test render markdown raw text
@@ 194-200 (lines=7) @@
191
    /**
192
     * Test render markdown raw text
193
     */
194
    public function testRenderRaw()
195
    {
196
        $output = $this->markdown->renderRaw('**cool**');
197
198
        $this->assertEquals('<p>{"file":"<strong>cool</strong>"}</p>',
199
            str_replace(["\r\n", "\r", "\n"], "", $output[0]));
200
    }
201
202
    /**
203
     * Test getting meta about GitHub.com