[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
Showing
- typo3/sysext/core/Tests/Functional/DataHandling/Framework/ActionService.php 35 additions, 1 deletion...Tests/Functional/DataHandling/Framework/ActionService.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/AbstractActionTestCase.php 21 additions, 6 deletions...onalRecordEditing/ForeignField/AbstractActionTestCase.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv 24 additions, 0 deletions...eleteParentContentRecordAndDiscardDeletedParentRecord.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv 2 additions, 2 deletions...ecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/InlineRelationalRecordEditing/ForeignField/DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv 1 addition, 1 deletion...ordWithHotelChildRecordAndDiscardModifiedParentRecord.csv
Please register or sign in to comment