mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 14:46:27 +02:00
remove makefile
This commit is contained in:
parent
f955cf3db0
commit
38a8b023cb
276 changed files with 0 additions and 138 deletions
23
tests/phpunit/bootstrap.php
Executable file
23
tests/phpunit/bootstrap.php
Executable file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
###############
|
||||
# ENVIRONMENT #
|
||||
###############
|
||||
define('ENVIRONMENT', 'test');
|
||||
define('FROM_WEB', false);
|
||||
require_once(__DIR__ . '/descartes/load-environment.php');
|
||||
|
||||
##############
|
||||
# INCLUSIONS #
|
||||
##############
|
||||
//On va inclure l'ensemble des fichiers necessaires
|
||||
require_once(PWD . '/descartes/autoload.php');
|
||||
require_once(PWD . '/vendor/autoload.php');
|
||||
require_once(PWD . '/routes.php');
|
||||
|
||||
#########
|
||||
# MODEL #
|
||||
#########
|
||||
//On va appeler un modèle, est l'initialiser
|
||||
$bdd = Model::connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD);
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue