aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-09-24 13:54:42 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-09-24 13:54:42 +0200
commit2cd779cbe9b75832170bee75bc4703b872769e42 (patch)
tree4a8f13462877c55ad943f9567e289aba64cf2140 /tests/unit
parent2bc088e55581bdbf9ec45f539005c37fb23d5d61 (diff)
downloadvolse-hubzilla-2cd779cbe9b75832170bee75bc4703b872769e42.tar.gz
volse-hubzilla-2cd779cbe9b75832170bee75bc4703b872769e42.tar.bz2
volse-hubzilla-2cd779cbe9b75832170bee75bc4703b872769e42.zip
Don't autoload test cases using composer.
Introduces a bootstrap file that ensures that the base test case classes are loaded and available instead. This reduces the number of warnings when running composer install.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/bootstrap.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/bootstrap.php b/tests/unit/bootstrap.php
new file mode 100644
index 000000000..296e1b9b6
--- /dev/null
+++ b/tests/unit/bootstrap.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ * Bootstrapping unit test framework
+ *
+ */
+
+require_once __dir__ . '/../../boot.php';
+require_once __dir__ . '/UnitTestCase.php';
+require_once __dir__ . '/Module/TestCase.php';