summaryrefslogtreecommitdiff
path: root/fai_gestion/tests/bootstrap.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 00:09:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 00:09:33 +0200
commit4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8 (patch)
tree8869134f1c3b5f7c3841578fbcaa4ff9cee7e2bc /fai_gestion/tests/bootstrap.php
parenta6104f47f7a0534664f8f3740f303f01e7e7399e (diff)
downloadchd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.zip
chd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.tar.gz
chd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.tar.bz2
Cake 3.6.7 fresh install
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'] = '/';