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
Pull Request — master (#100)
by Tobias
08:02
created

BundleInitializationTest::testInitBundle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 13
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
namespace Ob\HighchartsBundle\Tests;
4
5
use Nyholm\BundleTest\BaseBundleTestCase;
6
use Ob\HighchartsBundle\ObHighchartsBundle;
7
use Ob\HighchartsBundle\Twig\HighchartsExtension;
8
9
class BundleInitializationTest extends BaseBundleTestCase
10
{
11
    protected function getBundleClass()
12
    {
13
        return ObHighchartsBundle::class;
14
    }
15
16
    public function testInitBundle()
17
    {
18
        // Boot the kernel.
19
        $this->bootKernel();
20
21
        // Get the container
22
        $container = $this->getContainer();
23
24
        // Test if you services exists
25
        $this->assertTrue($container->has('ob_highcharts.twig.highcharts_extension'));
26
        $service = $container->get('ob_highcharts.twig.highcharts_extension');
27
        $this->assertInstanceOf(HighchartsExtension::class, $service);
28
    }
29
30
}