[BUGFIX] Discard vs. Delete workspace changes in tests 12/27712/3
authorOliver Hader <oliver@typo3.org>
Wed, 19 Feb 2014 10:56:16 +0000 (11:56 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 19 Feb 2014 11:43:09 +0000 (12:43 +0100)
commit5be419e3a11409355dd79cf6f7ff9f91bd63c61b
tree368cda68183b3b7f690c0cc42d49458f6bac987f
parent8d67dfc1078a15617ec62588f95d8584dd0a7f14
[BUGFIX] Discard vs. Delete workspace changes in tests

Discarding workspace changes works with the version command
"clearWSID" which might come down to a "delete" action if the
versioned records have a delete or new placeholder (which is
the case for copied or localized elements).
However, the functional tests need to use the "clearWSID"
instead of the "delete" command.

Resolves: #56111
Releases: 6.2
Change-Id: Id10413048a68abdb5ef05bb6e20e6cb6460f9742
Reviewed-on: https://review.typo3.org/27712
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Tests/Functional/DataHandling/Framework/ActionService.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv
typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv