Skip to content

Commit 5b14969

Browse files
committed
Adjust path to config in tests
1 parent 2212412 commit 5b14969

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

phpcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<config name="show_progress" value="1"/>
1010
<config name="ignore_warnings_on_exit" value="0"/>
1111

12-
<file>config-templates</file>
12+
<file>config</file>
1313
<file>hooks</file>
1414
<file>src</file>
1515
<file>tests</file>

psalm.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
1111
>
1212
<projectFiles>
13-
<directory name="config-templates" />
13+
<directory name="config" />
1414
<directory name="hooks" />
1515
<directory name="src" />
1616
<directory name="templates" />
@@ -29,12 +29,6 @@
2929
<file name="tests/bootstrap.php" />
3030
</errorLevel>
3131
</UnresolvableInclude>
32-
<!-- Ignore UnusedVariable in config template -->
33-
<UnusedVariable>
34-
<errorLevel type="suppress">
35-
<file name="config-templates/module_oidc.php" />
36-
</errorLevel>
37-
</UnusedVariable>
3832
<InvalidClassConstantType>
3933
<errorLevel type="suppress">
4034
<file name="src/Forms/Controls/CsrfProtection.php" />

tests/unit/src/Repositories/ScopeRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static function setUpBeforeClass(): void
4141
];
4242

4343
Configuration::loadFromArray($config, '', 'simplesaml');
44-
Configuration::setConfigDir(__DIR__ . '/../../../../config-templates');
44+
Configuration::setConfigDir(__DIR__ . '/../../../config');
4545
(new DatabaseMigration())->migrate();
4646
}
4747

0 commit comments

Comments
 (0)