diff --git a/tests/PHPUnit/Core/ReleaseCheckListTest.php b/tests/PHPUnit/Core/ReleaseCheckListTest.php index 191debfda97f5a0bb094332af7a7f3afc997d05f..f4ad8b4cfdc2e3bc8d130a23572e94c5b2cb5593 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");; }