public function PermissionsTestCase::canNotChangeGroupWhenFileNotOwned 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::canNotChangeGroupWhenFileNotOwned()
@test @group issue_53
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ PermissionsTestCase.php, line 86
Class
- PermissionsTestCase
- Test for permissions related functionality.
Namespace
org\bovigo\vfsCode
public function canNotChangeGroupWhenFileNotOwned() {
$this->root
->getChild('test_directory')
->getChild('test.file')
->chown(vfsStream::OWNER_USER_1);
$this
->assertFalse(@chgrp(vfsStream::url('root/test_directory/test.file'), vfsStream::GROUP_USER_2));
}