[BUGFIX] EM unit test is broken
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Tests / Unit / Utility / FileHandlingUtilityTest.php
index b7f3ad4..2dc3067 100644 (file)
@@ -478,7 +478,7 @@ class FileHandlingUtilityTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                // Create zip-file from extension
                $filename = $fileHandlerMock->_call('createZipFileFromExtension', $extKey);
 
                // Create zip-file from extension
                $filename = $fileHandlerMock->_call('createZipFileFromExtension', $extKey);
 
-               $expectedFilename = PATH_site . 'typo3temp/' . $extKey . '_0.0.0.zip';
+               $expectedFilename = PATH_site . 'typo3temp/' . $extKey . '_0.0.0_' . date('YmdHi') . '.zip';
                $this->assertEquals($expectedFilename, $filename, 'Archive file name differs from expectation');
 
                // File was created
                $this->assertEquals($expectedFilename, $filename, 'Archive file name differs from expectation');
 
                // File was created