From 6a281f019c73dec54f487890d7ff80d26a3f04bf Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 24 Apr 2024 00:02:09 +0200 Subject: fix(files): Use OCP\Util::getForbiddenFileNameChars instead of direct access to system config Signed-off-by: Ferdinand Thiessen --- apps/files/tests/Controller/ViewControllerTest.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/files/tests') 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 @@ -152,11 +152,6 @@ class ViewControllerTest extends TestCase { 'ownerDisplayName' => 'MyDisplayName', ]); - $this->config - ->expects($this->any()) - ->method('getSystemValue') - ->with('forbidden_chars', []) - ->willReturn([]); $this->config ->method('getUserValue') ->willReturnMap([ -- cgit v1.2.3