[BUGFIX] Functional Test: force storage record to be caseSensitive "1" 93/30693/4
authorFabien Udriot <fabien.udriot@ecodev.ch>
Thu, 12 Jun 2014 13:24:13 +0000 (15:24 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Sep 2014 22:48:46 +0000 (00:48 +0200)
In the context of Functional Tests, makes sure the
storage record in initialized with caseSensitive "1"
which prevents the on-the-fly storage creation
by the Framework as this setting is dependent on the OS.

Change-Id: I0baa8d7743968adc1106768be02671cc5a81628a
Releases: master, 6.2
Resolves: #59527
Reviewed-on: http://review.typo3.org/30693
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithRteImagesAndFileLink/ImportInEmptyDatabaseTest.php

index 70bfe77..9a6df7b 100644 (file)
@@ -24,6 +24,17 @@ class ImportInEmptyDatabaseTest extends \TYPO3\CMS\Impexp\Tests\Functional\Impor
        protected $assertionDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithRteImagesAndFileLink/DataSet/Assertion/';
 
        /**
+        * @return void
+        */
+       public function setUp() {
+               parent::setUp();
+
+               // Force the storage record to be caseSensitive "1" and prevent on-the-fly
+               // storage creation which is dependant on the OS .
+               $this->importDataSet(__DIR__ . '/../../Fixtures/Database/sys_file_storage.xml');
+       }
+
+       /**
         * @test
         */
        public function importPagesAndRelatedTtContentWithRteImagesAndFileLink() {
@@ -39,4 +50,4 @@ class ImportInEmptyDatabaseTest extends \TYPO3\CMS\Impexp\Tests\Functional\Impor
 
        }
 
-}
\ No newline at end of file
+}