Code Duplication    Length = 14-14 lines in 2 locations

eZ/Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Configuration/Parser/FieldType/RichTextTest.php 1 location

@@ 63-76 (lines=14) @@
60
    /**
61
     * @dataProvider richTextSettingsProvider
62
     */
63
    public function testRichTextSettings(array $config, array $expected)
64
    {
65
        $this->load(
66
            array(
67
                'system' => array(
68
                    'ezdemo_site' => $config,
69
                ),
70
            )
71
        );
72
73
        foreach ($expected as $key => $val) {
74
            $this->assertConfigResolverParameterValue($key, $val, 'ezdemo_site');
75
        }
76
    }
77
78
    public function richTextSettingsProvider()
79
    {

eZ/Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Configuration/Parser/ContentTest.php 1 location

@@ 42-55 (lines=14) @@
39
    /**
40
     * @dataProvider contentSettingsProvider
41
     */
42
    public function testContentSettings(array $config, array $expected)
43
    {
44
        $this->load(
45
            array(
46
                'system' => array(
47
                    'ezdemo_site' => $config,
48
                ),
49
            )
50
        );
51
52
        foreach ($expected as $key => $val) {
53
            $this->assertConfigResolverParameterValue($key, $val, 'ezdemo_site');
54
        }
55
    }
56
57
    public function contentSettingsProvider()
58
    {