Moved tests and updated to use namespaces

This commit is contained in:
Josh Sherman 2014-09-28 07:31:02 -04:00
parent 302f400dcb
commit 0cfc2c7979
26 changed files with 686 additions and 683 deletions

View file

@ -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';