diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-04-24 00:02:09 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-04-29 17:01:32 +0200 |
commit | 6a281f019c73dec54f487890d7ff80d26a3f04bf (patch) | |
tree | 162bc41aca02f177126fe241715f4808cf346555 /apps/files/tests | |
parent | 147426c3ca7183ad065293bd9b600e10adde4abf (diff) | |
download | nextcloud-server-6a281f019c73dec54f487890d7ff80d26a3f04bf.tar.gz nextcloud-server-6a281f019c73dec54f487890d7ff80d26a3f04bf.zip |
fix(files): Use OCP\Util::getForbiddenFileNameChars instead of direct access to system config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/Controller/ViewControllerTest.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 2714a6b25c0..79834539883 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -153,11 +153,6 @@ class ViewControllerTest extends TestCase { ]); $this->config - ->expects($this->any()) - ->method('getSystemValue') - ->with('forbidden_chars', []) - ->willReturn([]); - $this->config ->method('getUserValue') ->willReturnMap([ [$this->user->getUID(), 'files', 'file_sorting', 'name', 'name'], |