Finished up Controller tests for existing functionality
This commit is contained in:
parent
efa8f77eba
commit
5a15c791c5
3 changed files with 59 additions and 25 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue