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 | |
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')
-rw-r--r-- | apps/files_sharing/tests/js/appSpec.js | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/fileDropSpec.js | 8 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/publicAppSpec.js | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/shareSpec.js | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/apps/files_sharing/tests/js/appSpec.js b/apps/files_sharing/tests/js/appSpec.js index 4cbad394bed..e1249f5b4d7 100644 --- a/apps/files_sharing/tests/js/appSpec.js +++ b/apps/files_sharing/tests/js/appSpec.js @@ -5,7 +5,7 @@ * @author Morris Jobke <hey@morrisjobke.de> * @author Vincent Petry <vincent@nextcloud.com> * - * @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 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)); diff --git a/apps/files_sharing/tests/js/publicAppSpec.js b/apps/files_sharing/tests/js/publicAppSpec.js index 290c08e3be7..ed88913b1f6 100644 --- a/apps/files_sharing/tests/js/publicAppSpec.js +++ b/apps/files_sharing/tests/js/publicAppSpec.js @@ -6,7 +6,7 @@ * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @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 diff --git a/apps/files_sharing/tests/js/shareSpec.js b/apps/files_sharing/tests/js/shareSpec.js index 3e8c686b2e6..f99c838eda3 100644 --- a/apps/files_sharing/tests/js/shareSpec.js +++ b/apps/files_sharing/tests/js/shareSpec.js @@ -9,7 +9,7 @@ * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @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 |