/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $app = $this->getApp(); $adapter = new NullAdapter(TEST_ROOT); $fs = new Filesystem($adapter); $this->container = new UploadContainer($fs); }
protected function setUp() { parent::setUp(); $app = $this->getApp(); $filesystem = $app['filesystem']; if ($filesystem->has('config://config.yml')) { $filesystem->delete('config://config.yml'); } }
protected function setUp() { parent::setUp(); $this->resetDirs(); $app = $this->getApp(); $filesystem = $app['filesystem']; $filesystem->createDir('extensions://local/bolt/config/config'); $filesystem->createDir('config://extensions'); $file = new YamlFile(); $filesystem->getFile('extensions://local/bolt/config/config/config.yml.dist', $file); $file->dump(['blame' => 'drop bear']); }