[TASK] Use name-resolution instead of strings where possible: 17
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Tests / Unit / FolderStructure / LinkNodeTest.php
index c817154..f8f94f2 100644 (file)
@@ -159,7 +159,7 @@ class LinkNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $statusArray = $node->getStatus();
                /** @var $status \TYPO3\CMS\Install\Status\StatusInterface */
                $status = $statusArray[0];
-               $this->assertInstanceOf('\TYPO3\CMS\Install\Status\WarningStatus', $status);
+               $this->assertInstanceOf(\TYPO3\CMS\Install\Status\WarningStatus::class, $status);
        }
 
        /**
@@ -182,7 +182,7 @@ class LinkNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $statusArray = $node->getStatus();
                /** @var $status \TYPO3\CMS\Install\Status\StatusInterface */
                $status = $statusArray[0];
-               $this->assertInstanceOf('\TYPO3\CMS\Install\Status\ErrorStatus', $status);
+               $this->assertInstanceOf(\TYPO3\CMS\Install\Status\ErrorStatus::class, $status);
        }
 
        /**
@@ -204,7 +204,7 @@ class LinkNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $statusArray = $node->getStatus();
                /** @var $status \TYPO3\CMS\Install\Status\StatusInterface */
                $status = $statusArray[0];
-               $this->assertInstanceOf('\TYPO3\CMS\Install\Status\OkStatus', $status);
+               $this->assertInstanceOf(\TYPO3\CMS\Install\Status\OkStatus::class, $status);
        }
 
        /**