summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js/favoritesfilelistspec.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/tests/js/favoritesfilelistspec.js')
-rw-r--r--apps/files/tests/js/favoritesfilelistspec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/js/favoritesfilelistspec.js b/apps/files/tests/js/favoritesfilelistspec.js
index db890927ed4..d1421c84ee2 100644
--- a/apps/files/tests/js/favoritesfilelistspec.js
+++ b/apps/files/tests/js/favoritesfilelistspec.js
@@ -90,7 +90,7 @@ describe('OCA.Files.FavoritesFileList tests', function() {
expect($tr.attr('data-mime')).toEqual('text/plain');
expect($tr.attr('data-mtime')).toEqual('11111000');
expect($tr.find('a.name').attr('href')).toEqual(
- OC.webroot +
+ OC.getRootPath() +
'/remote.php/webdav/somedir/test.txt'
);
expect($tr.find('.nametext').text().trim()).toEqual('test.txt');