[!!!][TASK] Remove deprecated methods in ExtensionManagementUtility
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Tests / Unit / Utility / InstallUtilityTest.php
index 3d64c7c..8565de8 100644 (file)
@@ -242,7 +242,7 @@ class InstallUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
     public function processDatabaseUpdatesCallsImportStaticSqlFile()
     {
         $extKey = $this->createFakeExtension();
-        $extRelPath = 'typo3temp/var/tests/' . $extKey . '/';
+        $extensionSiteRelPath = 'typo3temp/var/tests/' . $extKey . '/';
         $installMock = $this->getAccessibleMock(
             \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
             ['importStaticSqlFile', 'updateDbWithExtTablesSql', 'importT3DFile'],
@@ -252,7 +252,7 @@ class InstallUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
         );
         $dependencyUtility = $this->getMockBuilder(\TYPO3\CMS\Extensionmanager\Utility\DependencyUtility::class)->getMock();
         $installMock->_set('dependencyUtility', $dependencyUtility);
-        $installMock->expects($this->once())->method('importStaticSqlFile')->with($extRelPath);
+        $installMock->expects($this->once())->method('importStaticSqlFile')->with($extensionSiteRelPath);
         $installMock->processDatabaseUpdates($this->fakedExtensions[$extKey]);
     }