Completed
Push — master ( b87dd6...1d32ac )
by Alexey
10:52
created

FunctionalTester   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 14
rs 10
c 0
b 0
f 0
1
<?php
2
namespace backend\tests;
3
4
/**
5
 * Inherited Methods
6
 * @method void wantToTest($text)
7
 * @method void wantTo($text)
8
 * @method void execute($callable)
9
 * @method void expectTo($prediction)
10
 * @method void expect($prediction)
11
 * @method void amGoingTo($argumentation)
12
 * @method void am($role)
13
 * @method void lookForwardTo($achieveValue)
14
 * @method void comment($description)
15
 * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
16
 *
17
 * @SuppressWarnings(PHPMD)
18
 */
19
class FunctionalTester extends \Codeception\Actor
20
{
21
    use _generated\FunctionalTesterActions;
22
   /**
23
    * Define custom actions here
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