[TASK] Tests: Include all NOT NULL fields in EXT:impexp fixtures 27/42627/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 14 Aug 2015 13:39:44 +0000 (15:39 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 18 Aug 2015 14:03:05 +0000 (16:03 +0200)
The fixtures used by the functional tests are incomplete and don't
contain all fields that are defined as NOT NULL in the database schema.
Add the missing information to the fixtures to make tests pass when
running in MySQL strict mode.

Resolves: #69058
Releases: master
Change-Id: Ic55f83c0a41b29f88e8ccbc3220d2641b0b83150
Reviewed-on: http://review.typo3.org/42627
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/irre_tutorial.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/sys_file_metadata.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/sys_file_reference.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/Database/tx_impexpgroupfiles_item.xml

index 8c8f020..319ce62 100644 (file)
@@ -37,6 +37,7 @@
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
@@ -49,6 +50,7 @@
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
@@ -61,6 +63,7 @@
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
@@ -73,6 +76,7 @@
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
@@ -85,6 +89,7 @@
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>64</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>64</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>2</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>2</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>2</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <hotelid>1</hotelid>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <hotelid>1</hotelid>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>1</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>512</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <hotelid>1</hotelid>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <hotelid>2</hotelid>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>512</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>512</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>64</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>64</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>256</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>128</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <sorting>192</sorting>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <hotelid>1</hotelid>
                <cruser_id>1</cruser_id>
                <sys_language_uid>0</sys_language_uid>
                <l18n_parent>0</l18n_parent>
+               <l18n_diffsource></l18n_diffsource>
                <deleted>0</deleted>
                <hidden>0</hidden>
                <hotelid>1</hotelid>
                <hotelsort>2</hotelsort>
                <branchsort>0</branchsort>
        </tx_irretutorial_mnsym_hotel_rel>
-</dataset>
\ No newline at end of file
+</dataset>
index 103f57c..708652c 100644 (file)
@@ -11,6 +11,7 @@
                <alternative>Photo of program code</alternative>
                <sys_language_uid>0</sys_language_uid>
                <l10n_parent>0</l10n_parent>
+               <l10n_diffsource></l10n_diffsource>
        </sys_file_metadata>
        <sys_file_metadata>
                <uid>2</uid>
@@ -23,5 +24,6 @@
                <alternative>Foto von Programmcode</alternative>
                <sys_language_uid>1</sys_language_uid>
                <l10n_parent>1</l10n_parent>
+               <l10n_diffsource></l10n_diffsource>
        </sys_file_metadata>
-</dataset>
\ No newline at end of file
+</dataset>
index d13d3ad..9dff3f5 100644 (file)
@@ -8,5 +8,6 @@
                <tablenames>tt_content</tablenames>
                <fieldname>image</fieldname>
                <table_local>sys_file</table_local>
+               <l10n_diffsource></l10n_diffsource>
        </sys_file_reference>
-</dataset>
\ No newline at end of file
+</dataset>
index 5a5085a..cde3a76 100644 (file)
@@ -7,8 +7,10 @@
                <images>typo3_image4.jpg</images>
                <image_references>fileadmin/user_upload/typo3_image5.jpg</image_references>
                <deleted>0</deleted>
+               <flexform></flexform>
                <t3ver_oid>0</t3ver_oid>
                <t3ver_wsid>0</t3ver_wsid>
+               <l18n_diffsource></l18n_diffsource>
        </tx_impexpgroupfiles_item>
        <tx_impexpgroupfiles_item>
                <uid>2</uid>
@@ -37,5 +39,6 @@
                <deleted>0</deleted>
                <t3ver_oid>0</t3ver_oid>
                <t3ver_wsid>0</t3ver_wsid>
+               <l18n_diffsource></l18n_diffsource>
        </tx_impexpgroupfiles_item>
-</dataset>
\ No newline at end of file
+</dataset>