[BUGFIX] adminpanel: Do not use getTSConfig in a deprecated way
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / Tests / Unit / Service / ConfigurationServiceTest.php
index 739b661..9825d04 100644 (file)
@@ -211,8 +211,8 @@ class ConfigurationServiceTest extends UnitTestCase
      */
     private function setUpUserTsConfigForAdmPanel($userTsAdmPanelConfig): void
     {
      */
     private function setUpUserTsConfigForAdmPanel($userTsAdmPanelConfig): void
     {
-        $this->beUserProphecy->getTSConfig('admPanel')->willReturn(
-            ['properties' => $userTsAdmPanelConfig]
+        $this->beUserProphecy->getTSConfig()->willReturn(
+            ['admPanel.' => $userTsAdmPanelConfig]
         );
     }
 }
         );
     }
 }