summaryrefslogtreecommitdiff
path: root/fai_gestion/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'fai_gestion/tests/bootstrap.php')
-rw-r--r--fai_gestion/tests/bootstrap.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/fai_gestion/tests/bootstrap.php b/fai_gestion/tests/bootstrap.php
new file mode 100644
index 0000000..0ca191e
--- /dev/null
+++ b/fai_gestion/tests/bootstrap.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Test runner bootstrap.
+ *
+ * Add additional configuration/setup your application needs when running
+ * unit tests in this file.
+ */
+require dirname(__DIR__) . '/vendor/autoload.php';
+
+require dirname(__DIR__) . '/config/bootstrap.php';
+
+$_SERVER['PHP_SELF'] = '/';