You are here

public function vfsStreamWrapperWithoutRootTestCase::canNotUnlink in Zircon Profile 8

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

can not unlink without root

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperWithoutRootTestCase.php, line 39

Class

vfsStreamWrapperWithoutRootTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function canNotUnlink() {
  $this
    ->assertFalse(@unlink(vfsStream::url('foo')));
}