Reverting check from [6791]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6801 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2008-05-11 16:43:16 +00:00
parent 7f090c0cc6
commit d3cdb7b591

View file

@ -36,7 +36,6 @@ require_once CAKE . 'tests' . DS . 'lib' . DS . 'cake_reporter.php';
* @subpackage cake.tests.cases.libs
*/
class CodeCoverageManagerTest extends UnitTestCase {
/**
* Skip if XDebug not installed
*
@ -47,7 +46,7 @@ class CodeCoverageManagerTest extends UnitTestCase {
}
function testNoTestCaseSupplied() {
if (!in_array(php_sapi_name(), array('cli', 'cgi-fcgi'))) {
if (php_sapi_name() != 'cli') {
CodeCoverageManager::start(substr(md5(microtime()), 0, 5), new CakeHtmlReporter());
CodeCoverageManager::report(false);
$this->assertError();