Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function testUpdateDefaultFields() |
||
16 | { |
||
17 | $update = new Query(); |
||
18 | |||
19 | $document = $update->createDocument([]); |
||
20 | |||
21 | $extension = new DocumentFactoryExtension(); |
||
22 | $page = new \Page(); |
||
|
|||
23 | |||
24 | $extension->updateDefaultFields($document, $page); |
||
25 | |||
26 | $fields = $document->getFields(); |
||
27 | |||
28 | $this->assertContains('MemberView', $fields); |
||
29 | } |
||
31 |
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