2013-01-25 18:36:16 +04:00
|
|
|
<?php
|
|
|
|
|
2014-05-06 10:32:49 +04:00
|
|
|
require(__DIR__ . "/../src/Fenom.php");
|
|
|
|
Fenom::registerAutoload();
|
2017-04-22 16:35:42 +03:00
|
|
|
|
|
|
|
if(!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
|
|
|
|
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
|
|
|
|
}
|
2013-01-25 18:36:16 +04:00
|
|
|
|
2013-07-29 14:58:14 +04:00
|
|
|
define('FENOM_RESOURCES', __DIR__ . "/resources");
|
2013-01-25 18:36:16 +04:00
|
|
|
|
2013-07-29 14:58:14 +04:00
|
|
|
require_once FENOM_RESOURCES . "/actions.php";
|
|
|
|
require_once __DIR__ . "/TestCase.php";
|
2015-01-06 21:35:42 +03:00
|
|
|
require_once __DIR__ . "/tools.php";
|
2013-02-15 01:49:26 +04:00
|
|
|
|
2017-04-22 16:25:04 +03:00
|
|
|
ini_set('date.timezone', 'Europe/Moscow');
|
|
|
|
|