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 ( 763a1f...59a9b7 )
by Wessel
01:52
created

UsoftPostcodeExtensionTest::getContainerExtensions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/*
3
* (c) Wessel Strengholt <[email protected]>
4
*
5
* For the full copyright and license information, please view the LICENSE
6
* file that was distributed with this source code.
7
*/
8
9
namespace Usoft\PostcodeBundle\Tests\DependencyInjection;
10
11
use Usoft\PostcodeBundle\DependencyInjection\UsoftPostcodeExtension;
12
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
13
14
/**
15
 * Class UsoftPostcodeExtensionTest
16
 *
17
 * @author Wessel Strengholt <[email protected]>
18
 */
19
class UsoftPostcodeExtensionTest extends AbstractExtensionTestCase
20
{
21
    public function testAfterLoadingTheCorrectParameterHasBeenSet()
22
    {
23
        $this->load(array('apiwise' => array('key' => 'secret-key')));
24
25
        $this->assertContainerBuilderHasParameter('postcode_api_key', 'secret-key');
26
    }
27
28
    /**
29
     * {@inheritdoc}
30
     */
31
    protected function getContainerExtensions()
32
    {
33
        return [
34
            new UsoftPostcodeExtension(),
35
        ];
36
    }
37
}
38