public function PermissionsTestCase::canNotChangePermissionWhenFileNotOwned in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/PermissionsTestCase.php \org\bovigo\vfs\PermissionsTestCase::canNotChangePermissionWhenFileNotOwned()
@test @group issue_53
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ PermissionsTestCase.php, line 46
Class
- PermissionsTestCase
- Test for permissions related functionality.
Namespace
org\bovigo\vfsCode
public function canNotChangePermissionWhenFileNotOwned() {
$this->root
->getChild('test_directory')
->getChild('test.file')
->chown(vfsStream::OWNER_USER_1);
$this
->assertFalse(@chmod(vfsStream::url('root/test_directory/test.file'), 0777));
}