public function vfsStreamWrapperTestCase::fileownerIsCurrentUserByDefault in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::fileownerIsCurrentUserByDefault()
@test @group permissions
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 283
Class
Namespace
org\bovigo\vfsCode
public function fileownerIsCurrentUserByDefault() {
$this
->assertEquals(vfsStream::getCurrentUser(), fileowner($this->fooURL));
$this
->assertEquals(vfsStream::getCurrentUser(), fileowner($this->fooURL . '/.'));
$this
->assertEquals(vfsStream::getCurrentUser(), fileowner($this->barURL));
$this
->assertEquals(vfsStream::getCurrentUser(), fileowner($this->barURL . '/.'));
$this
->assertEquals(vfsStream::getCurrentUser(), fileowner($this->baz1URL));
$this
->assertEquals(vfsStream::getCurrentUser(), fileowner($this->baz2URL));
}