summaryrefslogtreecommitdiff
path: root/tests/autoload.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-03-22 14:32:32 +0300
committerAndrew Dolgov <[email protected]>2022-03-22 14:32:32 +0300
commite35a4a1306d7fe0736d2f6ba3e0284308d29ebd0 (patch)
tree03c9b765938c1fdabf55b40bc1247af2b2b6d9b0 /tests/autoload.php
parent1c4f7ab3b838b23afb2ee4dab14acbf75956e952 (diff)
tests: add stub autoloader, add a few more rewrite_relative tests
Diffstat (limited to 'tests/autoload.php')
-rw-r--r--tests/autoload.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/autoload.php b/tests/autoload.php
new file mode 100644
index 000000000..1fb33424e
--- /dev/null
+++ b/tests/autoload.php
@@ -0,0 +1,6 @@
+<?php
+ set_include_path(dirname(__DIR__) ."/include" . PATH_SEPARATOR .
+ get_include_path());
+
+ require_once "autoload.php";
+ require_once "functions.php";