[TASK] Enable disabled FAL functional test assertions 91/45091/3
authorOliver Hader <oliver@typo3.org>
Wed, 2 Dec 2015 15:00:55 +0000 (16:00 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 2 Dec 2015 15:26:07 +0000 (16:26 +0100)
Resolves: #72028
Releases: master
Change-Id: I6092222a2726f06aae26967183161971c4ead858
Reviewed-on: https://review.typo3.org/45091
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Publish/ActionTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/PublishAll/ActionTest.php

index e3d7c8c..45574a1 100644 (file)
@@ -91,12 +91,9 @@ class ActionTest extends \TYPO3\CMS\Core\Tests\Functional\DataHandling\FAL\Abstr
         $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()
             ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
 
-        // @todo Values in sys_file_reference are not copied during localization...
-        /*
-            $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
+        $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
             ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentImage)
-            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('This is Kasper', 'Taken at T3BOARD'));
-        */
+            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('[Translate to Dansk:] This is Kasper', '[Translate to Dansk:] Taken at T3BOARD'));
     }
 
     /**
index 011cab0..6e21cae 100644 (file)
@@ -91,12 +91,9 @@ class ActionTest extends \TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\FAL
         $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()
             ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
 
-        // @todo Values in sys_file_reference are not copied during localization...
-        /*
-            $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
+        $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
             ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentImage)
-            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('This is Kasper', 'Taken at T3BOARD')->setStrict(TRUE));
-        */
+            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('[Translate to Dansk:] This is Kasper', '[Translate to Dansk:] Taken at T3BOARD')->setStrict(TRUE));
     }
 
     /**
index 5da39dc..d53908f 100644 (file)
@@ -95,12 +95,9 @@ class ActionTest extends \TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\FAL
         $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()
             ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
 
-        // @todo Values in sys_file_reference are not copied during localization...
-        /*
-            $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
+        $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
             ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentImage)
-            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('This is Kasper', 'Taken at T3BOARD')->setStrict(TRUE));
-        */
+            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('[Translate to Dansk:] This is Kasper', '[Translate to Dansk:] Taken at T3BOARD')->setStrict(TRUE));
     }
 
     /**
index 9fef6eb..4add960 100644 (file)
@@ -95,12 +95,9 @@ class ActionTest extends \TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\FAL
         $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()
             ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', '[Translate to Dansk:] Regular Element #2'));
 
-        // @todo Values in sys_file_reference are not copied during localization...
-        /*
-            $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
+        $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()
             ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentImage)
-            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('This is Kasper', 'Taken at T3BOARD')->setStrict(TRUE));
-        */
+            ->setTable(self::TABLE_FileReference)->setField('title')->setValues('[Translate to Dansk:] This is Kasper', '[Translate to Dansk:] Taken at T3BOARD')->setStrict(TRUE));
     }
 
     /**