aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-08-19 13:11:58 +0200
committerJoas Schilling <coding@schilljs.com>2021-08-31 12:57:59 +0200
commit243098a96f4a5eb4707bf434720c1d0e2b0e9a20 (patch)
tree23c5bb34c08556522c779c6a58e7cbf1cd2cf8fb /apps/files_external/tests
parent40d4ff3704edae787dbe9150b9e41b6d191e9925 (diff)
downloadnextcloud-server-243098a96f4a5eb4707bf434720c1d0e2b0e9a20.tar.gz
nextcloud-server-243098a96f4a5eb4707bf434720c1d0e2b0e9a20.zip
Revert OC.linkToOCS() calls back to old behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r--apps/files_external/tests/js/mountsfilelistSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/js/mountsfilelistSpec.js b/apps/files_external/tests/js/mountsfilelistSpec.js
index 66357448147..6068326ee28 100644
--- a/apps/files_external/tests/js/mountsfilelistSpec.js
+++ b/apps/files_external/tests/js/mountsfilelistSpec.js
@@ -117,7 +117,7 @@ describe('OCA.Files_External.FileList tests', function() {
expect(fakeServer.requests.length).toEqual(1);
request = fakeServer.requests[0];
expect(request.url).toEqual(
- OC.linkToOCS('apps/files_external/api/v1/mounts?format=json')
+ OC.linkToOCS('apps/files_external/api/v1') + 'mounts?format=json'
);
fakeServer.requests[0].respond(