Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class ScheduleRunContextTest extends TestCase |
||
15 | { |
||
16 | /** |
||
17 | * @test |
||
18 | */ |
||
19 | public function cannot_access_results_if_has_not_run() |
||
20 | { |
||
21 | $context = new ScheduleRunContext(new Schedule()); |
||
22 | |||
23 | $this->expectException(\LogicException::class); |
||
24 | $this->expectExceptionMessage('"The Schedule" has not yet run.'); |
||
25 | |||
26 | $context->getResults(); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | */ |
||
32 | public function set_results_count_mismatch() |
||
40 | } |
||
41 | } |
||
42 |
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