Passed
Branch update-yii-dataview (d90e66)
by Wilmer
13:07
created

IndexPageCest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 5
c 1
b 0
f 0
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A _before() 0 4 1
A testIndexPage() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace App\Tests\Acceptance;
6
7
use App\Tests\AcceptanceTester;
8
9
final class IndexPageCest
10
{
11
    public function _before(AcceptanceTester $I): void
12
    {
13
        $I->wantTo('index page works.');
14
        $I->amOnPage('/');
15
    }
16
17
    public function testIndexPage(AcceptanceTester $I): void
18
    {
19
        $I->expectTo('see page index.');
20
        $I->see('Hello, everyone!');
21
    }
22
}
23