Added support for custom maintenance templates.

This commit is contained in:
Joshua Sherman 2013-12-31 10:56:31 -05:00
parent 5a15c791c5
commit 9b1feda909
2 changed files with 26 additions and 15 deletions

View file

@ -27,12 +27,16 @@ class ControllerTest extends PHPUnit_Framework_TestCase
new Controller();
}
/*
public function testCustomSiteDown()
{
$this->fail();
$this->config->data['pickles']['disabled'] = true;
file_put_contents(SITE_TEMPLATE_PATH . '__shared/maintenance.phtml', '<h1>Custom Down for Maintenance</h1>');
new Controller();
$this->expectOutputRegex('/<h1>Custom Down for Maintenance<\/h1>/');
}
*/
public function testAttributesInURI()
{