Finished up Controller tests for existing functionality

This commit is contained in:
Joshua Sherman 2013-12-31 10:39:21 -05:00
parent efa8f77eba
commit 5a15c791c5
3 changed files with 59 additions and 25 deletions

View file

@ -1,6 +1,7 @@
<?php
ob_start();
session_start();
require_once '.composer/autoload.php';
@ -26,6 +27,11 @@ if (!file_exists(SITE_TEMPLATE_PATH))
mkdir(SITE_TEMPLATE_PATH, 0644);
}
if (!file_exists(SITE_TEMPLATE_PATH . '__shared/'))
{
mkdir(SITE_TEMPLATE_PATH . '__shared/', 0644);
}
$_SERVER['HTTP_HOST'] = 'testsite.com';
$_SERVER['SERVER_NAME'] = 'Test Server';