Skip to content

Commit effd8c1

Browse files
committed
fixup! docs: Document available app config values
1 parent aeeef49 commit effd8c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/lib/AppConfigTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
class AppConfigTest extends TestCase {
1818
/** @var IConfig|MockObject */
1919
private $config;
20-
/** @var AppConfig */
21-
private $appConfig;
2220
/** @var IAppConfig */
2321
private $appConfig;
2422

tests/lib/Listener/AddContentSecurityPolicyListenerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use OCP\App\IAppManager;
1414
use OCP\AppFramework\Http\ContentSecurityPolicy;
1515
use OCP\AppFramework\Http\EmptyContentSecurityPolicy;
16+
use OCP\AppFramework\Services\IAppConfig;
1617
use OCP\EventDispatcher\IEventDispatcher;
1718
use OCP\GlobalScale\IConfig as GlobalScaleConfig;
1819
use OCP\IConfig;
@@ -54,6 +55,7 @@ public function setUp(): void {
5455
$this->config = $this->getMockBuilder(AppConfig::class)
5556
->setConstructorArgs([
5657
$this->createMock(IConfig::class),
58+
$this->createMock(IAppConfig::class),
5759
$this->appManager,
5860
$this->gsConfig,
5961
])

0 commit comments

Comments
 (0)