You are here

public function vfsStreamWrapperFileTestCase::cannotOpenExistingNonwritableFileWithModeA in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperFileTestCase.php \org\bovigo\vfs\vfsStreamWrapperFileTestCase::cannotOpenExistingNonwritableFileWithModeA()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperFileTestCase.php, line 414

Class

vfsStreamWrapperFileTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function cannotOpenExistingNonwritableFileWithModeA() {
  $this->baz1
    ->chmod(0400);
  $this
    ->assertFalse(@fopen($this->baz1URL, 'a'));
}