WelcomeTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 2
Bugs 2 Features 0
Metric Value
wmc 1
c 2
b 2
f 0
lcom 1
cbo 1
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testDisplayWelcomeView() 0 5 1
1
<?php
2
3
namespace App\Containers\Welcome\UI\WEB\Tests\Acceptance;
4
5
use App\Ship\Parents\Tests\PhpUnit\TestCase;
6
7
/**
8
 * Class WelcomeTest.
9
 *
10
 * @author Mahmoud Zalt <[email protected]>
11
 */
12
class WelcomeTest extends TestCase
13
{
14
15
    private $page = '/';
16
17
    public function testDisplayWelcomeView()
18
    {
19
        $this->visit($this->page)
20
            ->see('Hello API');
21
    }
22
}
23