Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class EnablerExtensionTest extends FunctionalTest |
||
12 | { |
||
13 | protected $usesDatabase = true; |
||
14 | |||
15 | protected function setUp() |
||
16 | { |
||
17 | parent::setUp(); |
||
18 | $config = Config::modify(); |
||
19 | $config->set(SSViewer::class, 'themes', [ |
||
20 | '$public', |
||
21 | '$default', |
||
22 | ]); |
||
23 | $config->set(EnablerExtension::class, 'login_themes', [ |
||
24 | 'silverstripe/login-forms:login-forms', |
||
25 | '$default', |
||
26 | ]); |
||
27 | $config->set(EnablerExtension::class, 'excluded_actions', [ |
||
28 | 'index', |
||
29 | 'ping', |
||
30 | ]); |
||
31 | } |
||
32 | |||
33 | public function testThatSecurityActionsHaveUpdatedThemeListApplied() |
||
37 | } |
||
38 | |||
39 | public function testThatExcludedActionsDoNotHaveTheUpdatedThemeListApplied() |
||
45 |
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