summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-26 22:08:16 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-26 22:08:16 +0200
commitee9bef751805ac3f3c9572d1620f2221092b3094 (patch)
tree885b2b3bf24fcea94f102596daa797903a887513
parent19c28b2d51c68d51802b4a653d289a88a00b5d87 (diff)
downloadgigologadmin-ee9bef751805ac3f3c9572d1620f2221092b3094.tar.gz
gigologadmin-ee9bef751805ac3f3c9572d1620f2221092b3094.tar.bz2
gigologadmin-ee9bef751805ac3f3c9572d1620f2221092b3094.zip
Add missing license tags to files.
-rw-r--r--phpunit.xml7
-rwxr-xr-xrun-tests6
-rw-r--r--run-tests-windoze.bat6
-rw-r--r--tests/bootstrap.php5
4 files changed, 24 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
index d8ef2a6..ce02831 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,3 +1,10 @@
+<!--
+SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+
+SPDX-License-Identifier: CC0-1.0
+-->
+
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
diff --git a/run-tests b/run-tests
index 282d0ae..9f881d6 100755
--- a/run-tests
+++ b/run-tests
@@ -1,2 +1,8 @@
#!/usr/bin/env bash
+
+# SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+# SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+#
+# SPDX-License-Identifier: CC0-1.0
+
npm run wp-env run phpunit "phpunit -c /var/www/html/wp-content/plugins/giglogadmin/phpunit.xml $*"
diff --git a/run-tests-windoze.bat b/run-tests-windoze.bat
index 7b8c341..107f943 100644
--- a/run-tests-windoze.bat
+++ b/run-tests-windoze.bat
@@ -1,2 +1,8 @@
#!/usr/bin/env bash
+
+REM SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+REM SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+REM
+REM SPDX-License-Identifier: CC0-1.0
+
npm run wp-env run phpunit "phpunit -c /var/www/html/wp-content/plugins/giglogadmin/phpunit.xml"
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 0878ff7..b090644 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -3,6 +3,11 @@
* PHPUnit bootstrap file
*
* @package Sample_Plugin
+ *
+ * SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
+ * SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
//$_tests_dir = getenv( 'WP_TESTS_DIR' );