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 ( 216ab3...9dc691 )
by Benjamin
03:20
created

testLoadRoutesLoadsFromDefaultPathWithNoArg()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Tests\App\Lib\Routing;
4
5
use App\Lib\Routing\RouteCollection;
6
use App\Lib\Routing\RouteLoader;
7
use PHPUnit\Framework\TestCase;
8
9
class RouteLoaderTest extends TestCase
10
{
11
    public function testLoadRoutesLoadsFromDefaultPathWithNoArg()
12
    {
13
        $loader = new RouteLoader();
14
        $collection = $loader->loadRoutes();
15
16
        $this->assertInstanceOf(RouteCollection::class, $collection);
17
        $this->assertEquals(1, $collection->count());
18
    }
19
20
    public function testLoadRoutesLoadsWithArg()
21
    {
22
        $loader = new RouteLoader('tests/fixtures/routing.yml');
23
        $collection = $loader->loadRoutes();
24
25
        $this->assertInstanceOf(RouteCollection::class, $collection);
26
        $this->assertEquals(3, $collection->count());
27
    }
28
}
29