You are here

public function vfsStreamWrapperTestCase::chgrpDoesNotWorkOnVfsStreamUrls in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::chgrpDoesNotWorkOnVfsStreamUrls()

@test @group issue_11 @group permissions

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php, line 380

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function chgrpDoesNotWorkOnVfsStreamUrls() {
  if (version_compare(phpversion(), '5.4.0', '<')) {
    $this
      ->assertFalse(@chgrp($this->fooURL, vfsStream::GROUP_USER_2));
    $this
      ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->fooURL));
  }
}