diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-11 17:18:11 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-11 17:26:40 +0100 |
commit | 14e57bf70a612c16eccdd733b3562d46053419c5 (patch) | |
tree | df8365dd8ef8991668fb9428b019e50e02507685 /apps/files_sharing/tests/js/fileDropSpec.js | |
parent | bc47234e6be441c5b525448c088ac57bcc1fe4ae (diff) | |
download | nextcloud-server-14e57bf70a612c16eccdd733b3562d46053419c5.tar.gz nextcloud-server-14e57bf70a612c16eccdd733b3562d46053419c5.zip |
Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_sharing/tests/js/fileDropSpec.js')
-rw-r--r-- | apps/files_sharing/tests/js/fileDropSpec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/tests/js/fileDropSpec.js b/apps/files_sharing/tests/js/fileDropSpec.js index fb1d6de8021..efe87802d1c 100644 --- a/apps/files_sharing/tests/js/fileDropSpec.js +++ b/apps/files_sharing/tests/js/fileDropSpec.js @@ -3,7 +3,7 @@ * * @author Artur Neumann <info@individual-it.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -34,7 +34,7 @@ describe("files Drop tests", function() { //this pre/post positions should not change the result of the file name validation var prePostPositions = [""," "," "," "]; - + //use the testFiles and the pre/post positions to generate more testing data var replicatedTestFiles = []; prePostPositions.map(function (prePostPosition) { @@ -80,7 +80,7 @@ describe("files Drop tests", function() { 'wrongly validated file named "'+testFile.name+'"' ); }); - + if (testFile.expectedValidationResult === true) { it("should set correct PUT URL, Auth header and submit", function () { data = { @@ -88,7 +88,7 @@ describe("files Drop tests", function() { 'files': [testFile] } $('#sharingToken').val(sharingToken); - + OCA.FilesSharingDrop.addFileToUpload('',data); expect(data.submit.calledOnce).toEqual(true); expect(data.url).toContain("/public.php/webdav/" + encodeURI(testFile.name)); |