[TASK] Use name-resolution instead of strings where possible: 3
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Validation / Validator / TextValidatorTest.php
index 93d5d8f..c9860ab 100644 (file)
@@ -28,7 +28,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator;
  */
 class TextValidatorTest extends \TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\AbstractValidatorTestcase {
 
-       protected $validatorClassName = 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\TextValidator';
+       protected $validatorClassName = \TYPO3\CMS\Extbase\Validation\Validator\TextValidator::class;
 
        public function setup() {
                $this->validator = $this->getMock($this->validatorClassName, array('translateErrorMessage'));