diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-09-24 13:54:42 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-09-24 13:54:42 +0200 |
commit | 2cd779cbe9b75832170bee75bc4703b872769e42 (patch) | |
tree | 4a8f13462877c55ad943f9567e289aba64cf2140 /tests/unit | |
parent | 2bc088e55581bdbf9ec45f539005c37fb23d5d61 (diff) | |
download | volse-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.php | 9 |
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'; |