diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-13 17:38:13 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-22 16:05:50 +0100 |
commit | fa2be0750c50de45a2fd101eb23fa858c0e0771b (patch) | |
tree | 977892b4eeaf9c26e7157575d5c1909e6aa5febd /apps/files/tests/js/fileactionsmenuSpec.js | |
parent | f120846e291bf83244831770c5f25b730fa8ba90 (diff) | |
download | nextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.tar.gz nextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.zip |
Make files app use Webdav for most operations
Diffstat (limited to 'apps/files/tests/js/fileactionsmenuSpec.js')
-rw-r--r-- | apps/files/tests/js/fileactionsmenuSpec.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files/tests/js/fileactionsmenuSpec.js b/apps/files/tests/js/fileactionsmenuSpec.js index dee542458b6..747a746a602 100644 --- a/apps/files/tests/js/fileactionsmenuSpec.js +++ b/apps/files/tests/js/fileactionsmenuSpec.js @@ -237,8 +237,8 @@ describe('OCA.Files.FileActionsMenu tests', function() { expect(redirectStub.calledOnce).toEqual(true); expect(redirectStub.getCall(0).args[0]).toContain( OC.webroot + - '/index.php/apps/files/ajax/download.php' + - '?dir=%2Fsubdir&files=testName.txt'); + '/remote.php/webdav/subdir/testName.txt' + ); redirectStub.restore(); }); it('takes the file\'s path into account when clicking download', function() { @@ -269,8 +269,7 @@ describe('OCA.Files.FileActionsMenu tests', function() { expect(redirectStub.calledOnce).toEqual(true); expect(redirectStub.getCall(0).args[0]).toContain( - OC.webroot + '/index.php/apps/files/ajax/download.php' + - '?dir=%2Fanotherpath%2Fthere&files=testName.txt' + OC.webroot + '/remote.php/webdav/anotherpath/there/testName.txt' ); redirectStub.restore(); }); |