From fa71ec19b8cea9ff16302a6637acd0664ddd26b1 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 28 Jan 2016 21:06:57 -0800 Subject: [PATCH] tools/scripts/phpunit - Accept EnvTest --- tools/scripts/phpunit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/phpunit b/tools/scripts/phpunit index 6e16d0a205..30a3831c8a 100755 --- a/tools/scripts/phpunit +++ b/tools/scripts/phpunit @@ -30,7 +30,7 @@ array_shift($argv); // Convert class names to file names foreach ($argv as $k => $v) { - if (preg_match('/^(CRM_|api_v3|WebTest_)/', $v)) { + if (preg_match('/^(CRM_|api_v3_|EnvTest|WebTest_)/', $v)) { $argv[$k] = 'tests/phpunit/' . strtr($v, '_', '/') . '.php'; } elseif (preg_match('/^Civi\\\\/', $v)) { -- 2.25.1