mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
16 lines
474 B
PHP
16 lines
474 B
PHP
<?php
|
|
|
|
require(__DIR__ . "/../src/Fenom.php");
|
|
Fenom::registerAutoload();
|
|
|
|
define('FENOM_RESOURCES', __DIR__ . "/resources");
|
|
|
|
require_once FENOM_RESOURCES . "/actions.php";
|
|
require_once __DIR__ . "/TestCase.php";
|
|
require_once __DIR__ . "/tools.php";
|
|
|
|
ini_set('date.timezone', 'Europe/Moscow');
|
|
|
|
if(!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
|
|
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
|
|
} |