1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace Xmf\Test\Module\Helper; |
6
|
|
|
|
7
|
|
|
use PHPUnit\Framework\TestCase; |
|
|
|
|
8
|
|
|
use Xmf\Module\Helper\Session; |
9
|
|
|
|
10
|
|
|
require_once dirname(__DIR__, 5) . '/init_new.php'; |
11
|
|
|
|
12
|
|
|
class SessionTest extends TestCase |
13
|
|
|
{ |
14
|
|
|
/** |
15
|
|
|
* @var Session |
16
|
|
|
*/ |
17
|
|
|
protected $object; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* Sets up the fixture, for example, opens a network connection. |
21
|
|
|
* This method is called before a test is executed. |
22
|
|
|
*/ |
23
|
|
|
protected function setUp(): void |
24
|
|
|
{ |
25
|
|
|
$this->object = new Session(); |
26
|
|
|
} |
27
|
|
|
|
28
|
|
|
/** |
29
|
|
|
* Tears down the fixture, for example, closes a network connection. |
30
|
|
|
* This method is called after a test is executed. |
31
|
|
|
*/ |
32
|
|
|
protected function tearDown(): void |
33
|
|
|
{ |
34
|
|
|
} |
35
|
|
|
|
36
|
|
|
public function testInit() |
37
|
|
|
{ |
38
|
|
|
// Remove the following lines when you implement this test. |
39
|
|
|
$this->markTestIncomplete( |
40
|
|
|
'This test has not been implemented yet.' |
41
|
|
|
); |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
public function testSet() |
45
|
|
|
{ |
46
|
|
|
// Remove the following lines when you implement this test. |
47
|
|
|
$this->markTestIncomplete( |
48
|
|
|
'This test has not been implemented yet.' |
49
|
|
|
); |
50
|
|
|
} |
51
|
|
|
|
52
|
|
|
public function testGet() |
53
|
|
|
{ |
54
|
|
|
// Remove the following lines when you implement this test. |
55
|
|
|
$this->markTestIncomplete( |
56
|
|
|
'This test has not been implemented yet.' |
57
|
|
|
); |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
public function testDel() |
61
|
|
|
{ |
62
|
|
|
// Remove the following lines when you implement this test. |
63
|
|
|
$this->markTestIncomplete( |
64
|
|
|
'This test has not been implemented yet.' |
65
|
|
|
); |
66
|
|
|
} |
67
|
|
|
|
68
|
|
|
public function testDestroy() |
69
|
|
|
{ |
70
|
|
|
// Remove the following lines when you implement this test. |
71
|
|
|
$this->markTestIncomplete( |
72
|
|
|
'This test has not been implemented yet.' |
73
|
|
|
); |
74
|
|
|
} |
75
|
|
|
} |
76
|
|
|
|
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths