Skip to content

Commit 2ce53a5

Browse files
committed
implement test method
1 parent 61700ec commit 2ce53a5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lib/private/SystemConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class SystemConfig {
3838
protected $sensitiveValues = [
3939
'instanceid' => true,
4040
'datadirectory' => true,
41+
'appdataroot' => true,
4142
'dbname' => true,
4243
'dbhost' => true,
4344
'dbpassword' => true,

tests/lib/Files/AppData/AppDataTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ protected function setUp(): void {
5353
->method('getValue')
5454
->with('instanceid', null)
5555
->willReturn('iid');
56+
57+
$this->systemConfig->expects($this->any())
58+
->method('getValue')
59+
->with('appdataroot', null)
60+
->willReturn('/path');
5661
}
5762

5863
private function setupAppFolder() {

0 commit comments

Comments
 (0)