CommentPageCest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

2 Methods

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