/** * Set Up */ public function setUp() { $testDirPath = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'corgi_file' . DIRECTORY_SEPARATOR . 'test'; $this->testFilePath = $testDirPath . DIRECTORY_SEPARATOR . 'test.txt'; $this->directory = new Directory($testDirPath); $this->directory->create(true); parent::setUp(); }
/** * Set Up */ public function setUp() { $this->testFilePath = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'corgi_file' . DIRECTORY_SEPARATOR . 'test.txt'; parent::setUp(); }