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

ConfigurationTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 3
dl 0
loc 34
rs 10
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 Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionConfigurationTestCase;
12
use Usoft\PostcodeBundle\DependencyInjection\Configuration;
13
use Usoft\PostcodeBundle\DependencyInjection\UsoftPostcodeExtension;
14
15
/**
16
 * Class ConfigurationTest
17
 *
18
 * @author Wessel Strengholt <[email protected]>
19
 */
20
class ConfigurationTest extends AbstractExtensionConfigurationTestCase
21
{
22
    /**
23
     * @test
24
     */
25
    public function testIt_converts_extension_elements_to_extensions()
26
    {
27
        $expectedConfiguration = [
28
            'apiwise' => [
29
                'key' => 'secret-apiwise-key',
30
            ]
31
        ];
32
33
        $sources = [__DIR__ . '/Fixtures/config.yml'];
34
35
        $this->assertProcessedConfigurationEquals($expectedConfiguration, $sources);
36
    }
37
38
    /**
39
     * {@inheritdoc}
40
     */
41
    protected function getContainerExtension()
42
    {
43
        return new UsoftPostcodeExtension();
44
    }
45
46
    /**
47
     * {@inheritdoc}
48
     */
49
    protected function getConfiguration()
50
    {
51
        return new Configuration();
52
    }
53
}
54