From 1c47cd5da795bda74091c418d8433f3b4026495a Mon Sep 17 00:00:00 2001
From: Oliver Hader <oliver@typo3.org>
Date: Tue, 18 Mar 2014 21:44:11 +0100
Subject: [PATCH] [BUGFIX] Failng Import/Export functional tests

As a follow-up to issue #57046 (which fixed a bug in
sys_file_metadata pointing to sys_file_reference as
translation parent), these corrections need to be
updated in the functional test assertions as well.

Resolves: #57054
Releases: 6.2
Change-Id: I1a3d395fb4fcb1271d2684af38e5fc32a10463fc
Reviewed-on: https://review.typo3.org/28512
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
---
 .../ImportExportXml/pages-and-ttcontent-with-image.xml      | 6 +++---
 .../pages-and-ttcontent-with-image-without-storage.xml      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml b/typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml
index a121cd875ab1..0862aa5ace52 100644
--- a/typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml
+++ b/typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml
@@ -133,9 +133,9 @@
 							<id>1</id>
 							<table>sys_language</table>
 						</element>
-						<element index="sys_file_reference:1" type="array">
+						<element index="sys_file_metadata:1" type="array">
 							<id>1</id>
-							<table>sys_file_reference</table>
+							<table>sys_file_metadata</table>
 						</element>
 						<element index="sys_file:1" type="array">
 							<id>1</id>
@@ -424,7 +424,7 @@
 					<relations index="itemArray" type="array">
 						<element index="0" type="array">
 							<id>1</id>
-							<table>sys_file_reference</table>
+							<table>sys_file_metadata</table>
 						</element>
 					</relations>
 				</field>
diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-without-storage.xml b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-without-storage.xml
index 4546b73c354b..e6eb38ab7a29 100644
--- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-without-storage.xml
+++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-without-storage.xml
@@ -379,7 +379,7 @@
 					<relations index="itemArray" type="array">
 						<element index="0" type="array">
 							<id>1</id>
-							<table>sys_file_reference</table>
+							<table>sys_file_metadata</table>
 						</element>
 					</relations>
 				</field>
-- 
GitLab