diff options
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)); |