[TASK] Use name-resolution instead of strings where possible: 9
[Packages/TYPO3.CMS.git] / typo3 / sysext / saltedpasswords / Tests / Unit / Evaluation / EvaluatorTest.php
index 9b9ea84..ec69f1f 100644 (file)
@@ -27,7 +27,7 @@ class EvaluatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        protected $fixture;
 
        public function setUp() {
-               $this->fixture = $this->getMock('TYPO3\\CMS\\Saltedpasswords\\Evaluation\\Evaluator', array('dummy'));
+               $this->fixture = $this->getMock(\TYPO3\CMS\Saltedpasswords\Evaluation\Evaluator::class, array('dummy'));
 
                // Make sure SaltedPasswordsUtility::isUsageEnabled() returns TRUE
                unset($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['saltedpasswords']);