php unit tests

This commit is contained in:
kremsy committed 2017-04-15 22:01:27 +02:00
1 parent eb6dc3db1a
commit 26b508311c
5 files changed
+83 -16

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
// Define base dir
define('MANIACONTROL_PATH', realpath(__DIR__ . '/..') . DIRECTORY_SEPARATOR);
define('DEV_MODE', true); // Development mode to not send error reports etc.
define('PHP_UNIT_TEST', true);
// Register AutoLoader
require_once MANIACONTROL_PATH . 'core' . DIRECTORY_SEPARATOR . 'AutoLoader.php';
\ManiaControl\AutoLoader::register();