mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
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:
parent
7f090c0cc6
commit
d3cdb7b591
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue