summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/js/appSpec.js2
-rw-r--r--apps/files_sharing/tests/js/fileDropSpec.js8
-rw-r--r--apps/files_sharing/tests/js/publicAppSpec.js2
-rw-r--r--apps/files_sharing/tests/js/shareSpec.js2
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