Code Duplication    Length = 15-15 lines in 2 locations

Tests/Unit/DependencyInjection/Compiler/HashGeneratorPassTest.php 1 location

@@ 103-117 (lines=15) @@
100
        )));
101
    }
102
103
    protected function getBaseConfig()
104
    {
105
        return array(
106
            'proxy_client' => array(
107
                'varnish' => array(
108
                    'http' => array(
109
                        'base_url' => 'my_hostname',
110
                        'servers' => array(
111
                            '127.0.0.1',
112
                        ),
113
                    ),
114
                ),
115
            ),
116
        );
117
    }
118
}
119

Tests/Unit/DependencyInjection/FOSHttpCacheExtensionTest.php 1 location

@@ 381-395 (lines=15) @@
378
        return $container;
379
    }
380
381
    protected function getBaseConfig()
382
    {
383
        return array(
384
            'proxy_client' => array(
385
                'varnish' => array(
386
                    'http' => [
387
                        'base_url' => 'my_hostname',
388
                        'servers' => array(
389
                            '127.0.0.1',
390
                        ),
391
                    ],
392
                ),
393
            ),
394
        );
395
    }
396
397
    /**
398
     * @param ContainerBuilder $container