Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR: Amended PHPUnit execution to work with PHPUnit 3.6

  • Loading branch information...
commit f1480c20bf64f7c387c0d0a9fa7875ff67ca1533 1 parent cd6ad64
@sminnee sminnee authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  dev/phpunit/PhpUnitWrapper_3_5.php
View
3  dev/phpunit/PhpUnitWrapper_3_5.php
@@ -26,7 +26,6 @@ public function init() {
require_once 'PHPUnit/Autoload.php';
require_once 'PHP/CodeCoverage/Filter.php';
- PHP_CodeCoverage_Filter::getInstance()->addFileToBlacklist(__FILE__, 'PHPUNIT');
}
/**
@@ -44,6 +43,8 @@ protected function beforeRunTests() {
foreach(TestRunner::$coverage_filter_dirs as $dir) {
$filter->addDirectoryToBlacklist(BASE_PATH . '/' . $dir);
}
+
+ $filter->addFileToBlacklist(__FILE__, 'PHPUNIT');
$coverage->start(self::get_test_name());
}
Please sign in to comment.
Something went wrong with that request. Please try again.