Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable test.php webrunner again and fix a missing namespace
- Loading branch information
euromark
committed
Aug 31, 2013
1 parent
481a308
commit abeaf48
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* Web Access Frontend for TestSuite | ||
* | ||
* PHP 5 | ||
* | ||
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> | ||
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* | ||
* Licensed under The MIT License | ||
* Redistributions of files must retain the above copyright notice | ||
* | ||
* @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* @link http://book.cakephp.org/2.0/en/development/testing.html | ||
* @package app.webroot | ||
* @since CakePHP(tm) v 1.2.0.4433 | ||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
*/ | ||
set_time_limit(0); | ||
ini_set('display_errors', 1); | ||
|
||
require dirname(__DIR__) . '/Config/bootstrap.php'; | ||
|
||
use Cake\Core\Configure; | ||
use Cake\TestSuite\TestSuiteDispatcher; | ||
|
||
if (Configure::read('debug') < 1) { | ||
exit(__d('cake_dev', 'Debug setting does not allow access to this url.')); | ||
} | ||
|
||
TestSuiteDispatcher::run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters