aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.
*