Failed Conditions
Branch try/acceptance-tests (7c347f)
by Atanas
02:43
created

ExampleTest::testHome()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Example test class
4
 *
5
 * @package wpacceptance
6
 */
7
8
/**
9
 * PHPUnit test class
10
 */
11
class ExampleTest extends \WPAcceptance\PHPUnit\TestCase {
0 ignored issues
show
Bug introduced by
The type WPAcceptance\PHPUnit\TestCase 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...
12
	public function testHome() {
13
		$I = $this->openBrowserPage();
14
		$I->moveTo('/');
15
		$I->seeText('acceptance:index');
16
	}
17
18
	public function testGet() {
19
		$I = $this->openBrowserPage();
20
		$I->moveTo('/hook');
21
		$I->seeText('acceptance:/hook');
22
	}
23
}
24