From 494a07932158d7ee7f36a2793622d1ed11d06bd7 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 16 May 2025 23:09:37 +0200 Subject: test: replace `OC_Helper:rmdirr` with `OCP\Files::rmdirr` Signed-off-by: Ferdinand Thiessen --- tests/lib/Files/FilesystemTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/Files/FilesystemTest.php') diff --git a/tests/lib/Files/FilesystemTest.php b/tests/lib/Files/FilesystemTest.php index 4a3543474a1..966f6f34cee 100644 --- a/tests/lib/Files/FilesystemTest.php +++ b/tests/lib/Files/FilesystemTest.php @@ -10,6 +10,7 @@ namespace Test\Files; use OC\Files\Mount\MountPoint; use OC\Files\Storage\Temporary; use OC\User\NoUserException; +use OCP\Files; use OCP\Files\Config\IMountProvider; use OCP\Files\Storage\IStorageFactory; use OCP\IUser; @@ -74,7 +75,7 @@ class FilesystemTest extends \Test\TestCase { protected function tearDown(): void { foreach ($this->tmpDirs as $dir) { - \OC_Helper::rmdirr($dir); + Files::rmdirr($dir); } $this->logout(); -- cgit v1.2.3