diff --git a/tests/Form/Type/VichFileTypeTest.php b/tests/Form/Type/VichFileTypeTest.php index 13750afd..c8d278f0 100644 --- a/tests/Form/Type/VichFileTypeTest.php +++ b/tests/Form/Type/VichFileTypeTest.php @@ -26,7 +26,7 @@ public function testEmptyDownloadLinkDoNotThrowsDeprecation(): void $propertyMappingFactory = $this->getPropertyMappingFactoryMock(); $propertyAccessor = $this->createMock(PropertyAccessor::class); - $testedType = static::TESTED_TYPE; + $testedType = self::TESTED_TYPE; $type = new $testedType($storage, $uploadHandler, $propertyMappingFactory, $propertyAccessor);