You are here

public function vfsStreamWrapperWithoutRootTestCase::canNotRename 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::canNotRename()

can not rename a file without root

@test

File

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

Class

vfsStreamWrapperWithoutRootTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function canNotRename() {
  $this
    ->assertFalse(@rename(vfsStream::url('foo'), vfsStream::url('bar')));
}