about summary refs log tree commit diff stats
path: root/tests_integration/bootstrap.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-26 08:39:07 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-26 08:39:07 +0300
commit1cea8a710a8dffd9f8286c3b7e46a9379841e2b4 (patch)
tree72d4be3525a2390eeec3eb0188d750b85b3c2766 /tests_integration/bootstrap.php
parentdc60880d9cc4074a231fd21c9508d0f78beaf1f1 (diff)
downloadthe-epube-1cea8a710a8dffd9f8286c3b7e46a9379841e2b4.tar.gz
the-epube-1cea8a710a8dffd9f8286c3b7e46a9379841e2b4.tar.xz
import integration test scaffold from tt-rss
Diffstat (limited to 'tests_integration/bootstrap.php')
-rw-r--r--tests_integration/bootstrap.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests_integration/bootstrap.php b/tests_integration/bootstrap.php
new file mode 100644
index 0000000..d5fd639
--- /dev/null
+++ b/tests_integration/bootstrap.php
@@ -0,0 +1,10 @@
+<?php
+	set_include_path(dirname(__DIR__) ."/include" . PATH_SEPARATOR .
+	get_include_path());
+
+	require_once "common.php";
+
+	require_once __DIR__ . "/DbTestCase.php";
+
+	// Force Config singleton to re-read the environment variables
+	Config::get_instance();