diff --git a/src/User/Controller/UserImageController.php b/src/User/Controller/UserImageController.php index d145f7a5..dceec5b3 100644 --- a/src/User/Controller/UserImageController.php +++ b/src/User/Controller/UserImageController.php @@ -31,7 +31,6 @@ use Pimcore\Bundle\StudioBackendBundle\Util\Constant\HttpResponseCodes; use Pimcore\Bundle\StudioBackendBundle\Util\Constant\UserPermissions; use Pimcore\Bundle\StudioBackendBundle\Util\Trait\PaginatedResponseTrait; -use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\StreamedResponse; use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Security\Http\Attribute\IsGranted; diff --git a/tests/Unit/User/Service/ImageServiceTest.php b/tests/Unit/User/Service/ImageServiceTest.php index eb36bd59..085de234 100644 --- a/tests/Unit/User/Service/ImageServiceTest.php +++ b/tests/Unit/User/Service/ImageServiceTest.php @@ -127,7 +127,7 @@ public function testSetImageOfUserIsCalled(): void $imageUploadService->uploadUserImage($fileMock, 1); } - + public function testStreamResponseFromGetImage(): void { $userMock = $this->makeEmpty(UserInterface::class, [