Permalink
Browse files

Make unit tests work with phpUnit 3.6.

Add JImport to the whitelist.
  • Loading branch information...
1 parent 9d6c8b7 commit 04f3976b3057128505d64620806e86bbf2ea0809 @realityking realityking committed Nov 9, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −0 phpunit.xml.dist
  2. +0 −3 tests/bootstrap.php
View
@@ -18,6 +18,7 @@
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">libraries/joomla</directory>
+ <file>libraries/import.php</file>
<file>libraries/loader.php</file>
<file>libraries/platform.php</file>
</whitelist>
View
@@ -79,6 +79,3 @@
// Include the base test cases.
require_once JPATH_TESTS . '/includes/JoomlaTestCase.php';
require_once JPATH_TESTS . '/includes/JoomlaDatabaseTestCase.php';
-
-// Exclude all of the tests and platform files from code coverage reports
-PHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist(JPATH_TESTS);

0 comments on commit 04f3976

Please sign in to comment.