From 9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 9 Oct 2018 07:44:26 +0200 Subject: Fix usage of deprecated OC.webroot Signed-off-by: Christoph Wurst --- apps/files/tests/js/fileactionsSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/tests/js/fileactionsSpec.js') diff --git a/apps/files/tests/js/fileactionsSpec.js b/apps/files/tests/js/fileactionsSpec.js index 2dc8bb50920..00d13859b5b 100644 --- a/apps/files/tests/js/fileactionsSpec.js +++ b/apps/files/tests/js/fileactionsSpec.js @@ -716,7 +716,7 @@ describe('OCA.Files.FileActions tests', function() { expect(busyStub.calledWith('testName.txt', true)).toEqual(true); expect(handleDownloadStub.calledOnce).toEqual(true); expect(handleDownloadStub.getCall(0).args[0]).toEqual( - OC.webroot + '/remote.php/webdav/subdir/testName.txt' + OC.getRootPath() + '/remote.php/webdav/subdir/testName.txt' ); busyStub.reset(); handleDownloadStub.yield(); -- cgit v1.2.3