Exemplo n.º 1
0
 public function setUp()
 {
     $this->app = new Application();
     // setup temp dir for generated files
     $this->tmpDir = $this->app['app.dir.cache'] . '/' . uniqid('phpunit_', true);
     $this->filesystem = new Filesystem();
     $this->filesystem->mkdir($this->tmpDir);
     parent::setUp();
 }
Exemplo n.º 2
0
 public function setUp()
 {
     $this->app = new Application();
     $this->dir = sys_get_temp_dir() . '/easybookTests';
     parent::setUp();
 }