summaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
new file mode 100644
index 0000000..287a16b
--- /dev/null
+++ b/tests/bootstrap.php
@@ -0,0 +1,19 @@
+<?php
+/*
+function loader($class) {
+ $file = $class . '.php';
+ if (file_exists($file)) {
+ require $file;
+ }
+}
+
+spl_autoload_register('loader');
+*/
+
+define('IN_FS', true); # for passing some checks in Flyspray files
+
+if(is_readable('vendor/autoload.php')){
+ // Use composer autoloader
+ require 'vendor/autoload.php';
+}
+?>