Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Integration/ReleaseCheckListTest.php')
-rw-r--r--tests/PHPUnit/Integration/ReleaseCheckListTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/PHPUnit/Integration/ReleaseCheckListTest.php b/tests/PHPUnit/Integration/ReleaseCheckListTest.php
index e416ad1602..4852d2cf5d 100644
--- a/tests/PHPUnit/Integration/ReleaseCheckListTest.php
+++ b/tests/PHPUnit/Integration/ReleaseCheckListTest.php
@@ -289,7 +289,8 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase
strpos($file, 'yuicompressor') !== false ||
strpos($file, '/libs/') !== false ||
(strpos($file, '/vendor') !== false && strpos($file, '/vendor/piwik') === false) ||
- strpos($file, '/tmp/') !== false
+ strpos($file, '/tmp/') !== false ||
+ strpos($file, '/phantomjs/') !== false
) {
continue;
}
@@ -669,6 +670,6 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase
*/
private function isFileBelongToTests($file)
{
- return stripos($file, "/tests/") !== false;
+ return stripos($file, "/tests/") !== false || stripos($file, "/phantomjs/") !== false;
}
}