You are here

public function vfsStreamWrapperFileTimesTestCase::setUp in Zircon Profile 8

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

set up test environment

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperFileTimesTestCase.php, line 40

Class

vfsStreamWrapperFileTimesTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function setUp() {
  vfsStream::setup()
    ->lastModified(50)
    ->lastAccessed(50)
    ->lastAttributeModified(50);
  $this->fooUrl = vfsStream::url('root/foo.txt');
  $this->barUrl = vfsStream::url('root/bar');
  $this->bazUrl = vfsStream::url('root/bar/baz.txt');
}