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/Core/ReleaseCheckListTest.php')
-rw-r--r--tests/PHPUnit/Core/ReleaseCheckListTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Core/ReleaseCheckListTest.php b/tests/PHPUnit/Core/ReleaseCheckListTest.php
index cb53dde0dc..67dc9efe28 100644
--- a/tests/PHPUnit/Core/ReleaseCheckListTest.php
+++ b/tests/PHPUnit/Core/ReleaseCheckListTest.php
@@ -211,10 +211,10 @@ class ReleaseCheckListTest extends PHPUnit_Framework_TestCase
foreach($paths as $pathToTest) {
$chmod = substr(decoct(fileperms($pathToTest)), -3);
- $valid = array('775', '755');
+ $valid = array('777', '775', '755');
$command = "find $pluginsPath -type d -exec chmod 755 {} +";
$this->assertTrue(in_array($chmod, $valid),
- "Some directories within plugins/ are not chmod 755. \n For example: $pathToTest \n\n".
+ "Some directories within plugins/ are not chmod 755 \n\nGot: $chmod for : $pathToTest \n\n".
"Run this command to set all directories to 755: \n$command\n");;
}
}