Skip to content
Snippets Groups Projects
Commit 2c074028 authored by colemanw's avatar colemanw
Browse files

Test fixes

parent 425c9756
Branches
Tags
No related merge requests found
......@@ -21,6 +21,7 @@ module.exports = function(config) {
autoWatch: true,
browsers: ['PhantomJS'],
exclude: [
'ang/api4Explorer/Explorer.js'
],
files: [
'bower_components/phantomjs-polyfill/bind-polyfill.js',
......
......@@ -50,7 +50,7 @@ array_shift($argv);
// Convert class names to file names
$CIVICRM_UF = 'UnitTests';
foreach ($argv as $k => $v) {
if (preg_match('/^(CRM_|api_v3_|EnvTest|WebTest_|E2E_)/', $v)) {
if (preg_match('/^(CRM_|api_v3_|api_v4_|EnvTest|WebTest_|E2E_)/', $v)) {
$argv[$k] = 'tests/phpunit/' . strtr($v, '_', '/') . '.php';
}
elseif (preg_match('/^Civi\\\\/', $v)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment