GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 2dff82...bbfb02 )
by Christian
05:32
created

Core23DompdfExtensionTest::testLoadDefault()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 16
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 10
nc 1
nop 0
1
<?php
2
3
/*
4
 * (c) Christian Gripp <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Core23\DompdfBundle\Tests\DependencyInjection;
11
12
use Core23\DompdfBundle\DependencyInjection\Core23DompdfExtension;
13
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
14
15
class Core23DompdfExtensionTest extends AbstractExtensionTestCase
16
{
17
    public function testLoadDefault()
18
    {
19
        $this->load(array(
20
            'webDir'   => '%kernel.root_dir%/../customWeb',
21
            'defaults' => array(
22
                'foo' => 'bar',
23
                'bar' => 'baz',
24
            ),
25
        ));
26
27
        $this->assertContainerBuilderHasParameter('core23.dompdf_web', '%kernel.root_dir%/../customWeb');
28
        $this->assertContainerBuilderHasParameter('core23.dompdf_options', array(
29
            'foo' => 'bar',
30
            'bar' => 'baz',
31
        ));
32
    }
33
34
    protected function getContainerExtensions()
35
    {
36
        return array(
37
            new Core23DompdfExtension(),
38
        );
39
    }
40
}
41