nextcloud/apps/files_versions/tests/js
Daniel Calviño Sánchez 661756b02a Set error expected by the DAV client for a failed move
A revert triggers a move in the DAV client, and the DAV client expects a
DAV error message to be provided by the server in case of failure; if
no error message is given the client ends trying to get an attribute
from an undefined object and "crashes".

Besides that, if the revert fails the "done" callback of the promise
(the first parameter of "then") is never called, so a "fail" callback
should be used instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-25 13:07:06 +02:00
..
versioncollectionSpec.js move versions webui over to the dav api 2018-10-11 20:42:41 +02:00
versionmodelSpec.js Set error expected by the DAV client for a failed move 2018-10-25 13:07:06 +02:00
versionstabviewSpec.js move versions webui over to the dav api 2018-10-11 20:42:41 +02:00