aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/UnitTestCase.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-16 12:16:47 +0000
committerMario <mario@mariovavti.com>2023-06-16 12:16:47 +0000
commit7177649969825033a0e5ef3cf024e68c21e6acc9 (patch)
tree588ec9fdf24063be79b04dc6d66e3d7506282648 /tests/unit/UnitTestCase.php
parent18b7b3f125b88143d4edefec22a0df67869788d9 (diff)
parent89c7e1a8ee9f8d8f5d04d5b9e45bad98602905d1 (diff)
downloadvolse-hubzilla-7177649969825033a0e5ef3cf024e68c21e6acc9.tar.gz
volse-hubzilla-7177649969825033a0e5ef3cf024e68c21e6acc9.tar.bz2
volse-hubzilla-7177649969825033a0e5ef3cf024e68c21e6acc9.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'tests/unit/UnitTestCase.php')
-rw-r--r--tests/unit/UnitTestCase.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/UnitTestCase.php b/tests/unit/UnitTestCase.php
index 7d706d5be..f6fb28555 100644
--- a/tests/unit/UnitTestCase.php
+++ b/tests/unit/UnitTestCase.php
@@ -24,6 +24,12 @@ namespace Zotlabs\Tests\Unit;
use PHPUnit\Framework\TestCase;
+/*
+ * Make sure global constants and the global App object is available to the
+ * tests.
+ */
+require_once __DIR__ . '/../../boot.php';
+
/**
* @brief Base class for our Unit Tests.
*