summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js/favoritesfilelistspec.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-07-13 17:38:13 +0200
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:50 +0100
commitfa2be0750c50de45a2fd101eb23fa858c0e0771b (patch)
tree977892b4eeaf9c26e7157575d5c1909e6aa5febd /apps/files/tests/js/favoritesfilelistspec.js
parentf120846e291bf83244831770c5f25b730fa8ba90 (diff)
downloadnextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.tar.gz
nextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.zip
Make files app use Webdav for most operations
Diffstat (limited to 'apps/files/tests/js/favoritesfilelistspec.js')
-rw-r--r--apps/files/tests/js/favoritesfilelistspec.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/tests/js/favoritesfilelistspec.js b/apps/files/tests/js/favoritesfilelistspec.js
index 608ddaca18b..1c833d334e2 100644
--- a/apps/files/tests/js/favoritesfilelistspec.js
+++ b/apps/files/tests/js/favoritesfilelistspec.js
@@ -100,8 +100,7 @@ describe('OCA.Files.FavoritesFileList tests', function() {
expect($tr.attr('data-mtime')).toEqual('11111000');
expect($tr.find('a.name').attr('href')).toEqual(
OC.webroot +
- '/index.php/apps/files/ajax/download.php' +
- '?dir=%2Fsomedir&files=test.txt'
+ '/remote.php/webdav/somedir/test.txt'
);
expect($tr.find('.nametext').text().trim()).toEqual('test.txt');
});