[TASK] Use name-resolution instead of strings where possible: 3
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Property / TypeConverter / FloatConverterTest.php
index 7afa7d5..9b3eed8 100644 (file)
@@ -69,7 +69,7 @@ class FloatConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @test
         */
        public function convertFromReturnsAnErrorIfSpecifiedStringIsNotNumeric() {
-               $this->assertInstanceOf('TYPO3\CMS\Extbase\Error\Error', $this->converter->convertFrom('not numeric', 'float'));
+               $this->assertInstanceOf(\TYPO3\CMS\Extbase\Error\Error::class, $this->converter->convertFrom('not numeric', 'float'));
        }
 
        /**