[BUGFIX] EM unit test is broken 86/22686/2
authorXavier Perseguers <xavier@typo3.org>
Tue, 30 Jul 2013 05:21:10 +0000 (07:21 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 30 Jul 2013 06:23:49 +0000 (08:23 +0200)
Follow-up: #50441
Releases: 6.2
Change-Id: I008a3b08ff84b050118d9b37adc6e61e9ddd9279
Reviewed-on: https://review.typo3.org/22686
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
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);
 
-               $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