Moved tests and updated to use namespaces
This commit is contained in:
parent
302f400dcb
commit
0cfc2c7979
26 changed files with 686 additions and 683 deletions
|
@ -1,10 +1,5 @@
|
|||
<?php
|
||||
|
||||
uopz_overload(ZEND_EXIT, function(){});
|
||||
|
||||
ob_start();
|
||||
@session_start();
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
$root = org\bovigo\vfs\vfsStream::setup('site');
|
||||
|
@ -16,10 +11,13 @@ if (!defined('SITE_PATH'))
|
|||
|
||||
require_once 'src/pickles.php';
|
||||
|
||||
/*
|
||||
// @todo Update to resources path??
|
||||
if (!file_exists(SITE_MODULE_PATH))
|
||||
{
|
||||
mkdir(SITE_MODULE_PATH, 0644);
|
||||
}
|
||||
*/
|
||||
|
||||
$_SERVER['HTTP_HOST'] = 'testsite.com';
|
||||
$_SERVER['SERVER_NAME'] = 'Test Server';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue