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 ( 55e41a...4bbae3 )
by Mario
04:35
created

NetgenInformationCollectionExtensionTest::getMinimalConfiguration()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 41
Code Lines 26

Duplication

Lines 41
Ratio 100 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 41
loc 41
rs 8.8571
cc 1
eloc 26
nc 1
nop 0
1
<?php
2
3
namespace Netgen\Bundle\InformationCollectionBundle\Tests\DependencyInjection;
4
5
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
6
use Netgen\Bundle\InformationCollectionBundle\DependencyInjection\NetgenInformationCollectionExtension;
7
8
class NetgenInformationCollectionExtensionTest extends AbstractExtensionTestCase
9
{
10
    public function testItSetsValidContainerParameters()
11
    {
12
        $this->container->setParameter('ezpublish.siteaccess.list', array());
13
        $this->load();
14
    }
15
16
    protected function getContainerExtensions()
17
    {
18
        return array(
19
            new NetgenInformationCollectionExtension(),
20
        );
21
    }
22
23
    protected function getMinimalConfiguration()
24
    {
25
        return array(
26
            'system' => array(
27
                'default' => array(
28
                    'action_config' => array(
29
                        'email' => array(
30
                            'templates' => array(
31
                                'default' => 'some_template',
32
                                'content_types' => array(
33
                                    'content_type1' => 'content_type1_template',
34
                                    'content_type2' => 'content_type2_template',
35
                                ),
36
                            ),
37
                            'default_variables' => array(
38
                                'sender' => 'sender',
39
                                'recipient' => 'recipient',
40
                                'subject' => 'subject',
41
                            ),
42
                        ),
43
                    ),
44
                    'actions' => array(
45
                        'default' => array(
46
                            'action1',
47
                            'action2',
48
                        ),
49
                        'content_types' => array(
50
                            'content_type1' => array(
51
                                'action3',
52
                                'action4',
53
                            ),
54
                            'content_type2' => array(
55
                                'action5',
56
                                'action6',
57
                            ),
58
                        ),
59
                    ),
60
                ),
61
            ),
62
        );
63
    }
64
}
65