diff --git a/tests/acceptance/features/apiTrashbin/trashbinRestore.feature b/tests/acceptance/features/apiTrashbin/trashbinRestore.feature index f020a73ede4b..808eead5bde6 100644 --- a/tests/acceptance/features/apiTrashbin/trashbinRestore.feature +++ b/tests/acceptance/features/apiTrashbin/trashbinRestore.feature @@ -101,15 +101,7 @@ Feature: Restore deleted files/folders And user "Alice" has deleted file When user "Alice" restores the file with original path to using the trashbin API Then the HTTP status code should be "204" - # Sometimes is found in the trashbin. Should it? Or not? - # That seems to be what happens when the restore-overwrite happens properly, - # The original seems to be "deleted" and so goes to the trashbin - And as "Alice" the file with original path should not exist in the trashbin And as "Alice" file should exist - # sometimes the restore from trashbin does overwrite the existing file, but sometimes it does not. That is also surprising. - # the current observed behavior is that if the original ended up in the trashbin, - # then the new has the "file to delete" content. - # otherwise has its old content And the content of file for user "Alice" should be "file to delete" Examples: | dav-path | upload-path | delete-path |