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
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-06-06 10:34:35 +0400
committermattab <matthieu.aubry@gmail.com>2014-06-06 10:34:35 +0400
commitc401de550c65bc23f27ff79db87827dd9cc3d47a (patch)
tree32efecfae01b20a19d75bf03df78203ada562661 /tests
parentb0a26ed036d76da9292b180541436fb5f62224d4 (diff)
Some directories are 775.
Diffstat (limited to 'tests')
-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 191debfda9..f4ad8b4cfd 100644
--- a/tests/PHPUnit/Core/ReleaseCheckListTest.php
+++ b/tests/PHPUnit/Core/ReleaseCheckListTest.php
@@ -211,9 +211,9 @@ class ReleaseCheckListTest extends PHPUnit_Framework_TestCase
foreach($paths as $pathToTest) {
$chmod = substr(decoct(fileperms($pathToTest)), -3);
- $valid = '755';
+ $valid = array('775', '755');
$command = "find $pluginsPath -type d -exec chmod 755 {} +";
- $this->assertSame($chmod, $valid,
+ $this->assertTrue(in_array($chmod, $valid), $valid,
"Some directories within plugins/ are not chmod 755. \n For example: $pathToTest \n\n".
"Run this command to set all directories to 755: \n$command\n");;
}