Passed
Push — master ( 1d5b12...ea0462 )
by Anton
02:31
created

RouteListTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 3
c 1
b 0
f 1
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testExtensions() 0 5 1
1
<?php
2
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license   MIT
7
 * @author    Anton Titov (Wolfy-J)
8
 */
9
10
declare(strict_types=1);
11
12
namespace Spiral\Framework\Framework;
13
14
use Spiral\Framework\ConsoleTest;
15
16
class RouteListTest extends ConsoleTest
17
{
18
    public function testExtensions(): void
19
    {
20
        $output = $this->runCommand('route:list');
21
22
        $this->assertContains('AuthController', $output);
23
    }
24
}
25