Completed
Pull Request — master (#40)
by Marko
198:30 queued 133:26
created

YamlFOSCKEditorExtensionTest::loadConfiguration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
/*
4
 * This file is part of the Ivory CKEditor package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace FOS\CKEditorBundle\Tests\DependencyInjection;
13
14
use Symfony\Component\Config\FileLocator;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
17
18
/**
19
 * @author GeLo <[email protected]>
20
 */
21
class YamlFOSCKEditorExtensionTest extends AbstractFOSCKEditorExtensionTest
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    protected function loadConfiguration(ContainerBuilder $container, $configuration)
27
    {
28
        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Fixtures/config/Yaml/'));
29
        $loader->load($configuration.'.yml');
30
    }
31
}
32