nextcloud/apps/files_versions/tests
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
..
Command Fix risky tests without assertions 2018-01-25 11:33:25 +01:00
Controller More tests 2016-11-03 14:00:33 +01:00
js Set error expected by the DAV client for a failed move 2018-10-25 13:07:06 +02:00
ExpirationTest.php Fix mock of ITimeFactory 2018-10-10 12:42:20 +02:00
VersioningTest.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00