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 ( ed13ab...e6e7ba )
by Christian
01:26
created

Core23ShariffExtensionTest::testLoadDefault()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 9
rs 9.6666
cc 1
eloc 5
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\ShariffBundle\Tests\DependencyInjection;
11
12
use Core23\ShariffBundle\DependencyInjection\Core23ShariffExtension;
13
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
14
15
class Core23ShariffExtensionTest extends AbstractExtensionTestCase
16
{
17
    public function testLoadDefault()
18
    {
19
        $this->load();
20
21
        $this->assertContainerBuilderHasParameter('core23_shariff.options', array(
22
            'domains'  => array(),
23
            'services' => array('GooglePlus', 'LinkedIn', 'Reddit', 'StumbleUpon', 'Flattr', 'Pinterest', 'Xing', 'AddThis'),
24
        ));
25
    }
26
27
    public function testLoadFacebook()
28
    {
29
        $this->load(array(
30
            'services' => array(
31
                'facebook' => array(
32
                    'app_id' => 'foo_id',
33
                    'secret' => 'app_secret',
34
                ),
35
            ),
36
        ));
37
38
        $this->assertContainerBuilderHasParameter('core23_shariff.options', array(
39
            'domains'  => array(),
40
            'services' => array('GooglePlus', 'Facebook', 'LinkedIn', 'Reddit', 'StumbleUpon', 'Flattr', 'Pinterest', 'Xing', 'AddThis'),
41
            'Facebook' => array(
42
                'app_id' => 'foo_id',
43
                'secret' => 'app_secret',
44
            ),
45
        ));
46
    }
47
48
    protected function getContainerExtensions()
49
    {
50
        return array(
51
            new Core23ShariffExtension(),
52
        );
53
    }
54
}
55