[TASK] Use name-resolution instead of strings where possible: 17
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Functional / Persistence / InTest.php
index 6c7b719..6885448 100644 (file)
@@ -198,7 +198,7 @@ class InTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $blog = $this->blogRepository->findByUid(1);
 
                $this->assertInstanceOf(
-                       '\TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage',
+                       \TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage::class,
                        $blog->getPosts()
                );
 
@@ -218,7 +218,7 @@ class InTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
                $blog = $this->blogRepository->findByUid(1);
 
                $this->assertInstanceOf(
-                       '\TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage',
+                       \TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage::class,
                        $blog->getPosts()
                );