Completed
Push — master ( 20b8ce...b87dd6 )
by Alexey
05:19
created

FunctionalTester   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 13
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A dontSeeValidationError() 0 3 1
A seeValidationError() 0 3 1
1
<?php
2
3
namespace frontend\tests;
4
5
/**
6
 * Inherited Methods
7
 * @method void wantToTest($text)
8
 * @method void wantTo($text)
9
 * @method void execute($callable)
10
 * @method void expectTo($prediction)
11
 * @method void expect($prediction)
12
 * @method void amGoingTo($argumentation)
13
 * @method void am($role)
14
 * @method void lookForwardTo($achieveValue)
15
 * @method void comment($description)
16
 * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
17
 *
18
 * @SuppressWarnings(PHPMD)
19
 */
20
class FunctionalTester extends \Codeception\Actor
21
{
22
    use _generated\FunctionalTesterActions;
0 ignored issues
show
Bug introduced by
The type frontend\tests\_generated\FunctionalTesterActions was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
23
24
25
    public function seeValidationError($message)
26
    {
27
        $this->see($message, '.help-block');
28
    }
29
30
    public function dontSeeValidationError($message)
31
    {
32
        $this->dontSee($message, '.help-block');
33
    }
34
}
35