[TASK] Clean up MetaTagManager API
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / MetaTag / MetaTagManagerRegistryTest.php
index d929f94..abd1e2c 100644 (file)
@@ -25,20 +25,12 @@ use TYPO3\CMS\Core\MetaTag\TwitterCardMetaTagManager;
  */
 class MetaTagManagerRegistryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
-    /**
-     * @test
-     */
-    public function checkGetInstanceReturnsMetaTagManagerRegistryInstance()
-    {
-        return $this->assertInstanceOf(MetaTagManagerRegistry::class, MetaTagManagerRegistry::getInstance());
-    }
-
     /**
      * @test
      */
     public function checkRegisterNonExistingManagerDoesntThrowErrorWhenFetchingManagers()
     {
-        $metaTagManagerRegistry = MetaTagManagerRegistry::getInstance();
+        $metaTagManagerRegistry = new MetaTagManagerRegistry();
 
         $metaTagManagerRegistry->registerManager('name', 'fake//class//name');
         $metaTagManagerRegistry->getAllManagers();