Code Duplication    Length = 7-8 lines in 2 locations

tests/Renderer/CKEditorRendererTest.php 2 locations

@@ 406-412 (lines=7) @@
403
        );
404
    }
405
406
    public function testRenderWidgetWithoutAutoInline()
407
    {
408
        $this->assertSame(
409
            'CKEDITOR.disableAutoInline = true;'."\n".'CKEDITOR.replace("foo", []);',
410
            $this->renderer->renderWidget('foo', [], ['auto_inline' => false])
411
        );
412
    }
413
414
    public function testRenderWidgetWithInline()
415
    {
@@ 422-429 (lines=8) @@
419
        );
420
    }
421
422
    public function testRenderWidgetWithInputSync()
423
    {
424
        $this->assertSame(
425
            'var ivory_ckeditor_foo = CKEDITOR.replace("foo", []);'."\n".
426
            'ivory_ckeditor_foo.on(\'change\', function() { ivory_ckeditor_foo.updateElement(); });',
427
            $this->renderer->renderWidget('foo', [], ['input_sync' => true])
428
        );
429
    }
430
431
    public function testRenderDestroy()
432
    {