From d776118403f22ab76485f56546e845114025a4aa Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Sun, 19 Jan 2025 12:23:09 -0300 Subject: [PATCH] chore: ignore warning of Nextcloud Ignored: 1) /var/www/html/lib/private/Files/Storage/Local.php:302 file_put_contents(/var/www/html/data/appdata_ocg6kuxlhfpy/avatar/username/avatar.png): Failed to open stream: No such file or directory Signed-off-by: Vitor Mattos --- tests/Unit/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/TestCase.php b/tests/Unit/TestCase.php index 20b756db7..769e30e1d 100644 --- a/tests/Unit/TestCase.php +++ b/tests/Unit/TestCase.php @@ -155,7 +155,7 @@ public function createAccount(string $username, string $password, string $groupN $user = $userManager->get($username); if (!$user) { - $user = $userManager->createUser($username, $password); + $user = @$userManager->createUser($username, $password); } $group = $groupManager->get($groupName); if (!$group) {