public function tearDown() { $this->finder->deleteDirectory($this->modulePath); if ($this->finder->isDirectory(base_path('modules/ModuleName'))) { $this->finder->deleteDirectory(base_path('modules/ModuleName')); } parent::tearDown(); }
public function tearDown() { $this->finder->deleteDirectory($this->modulePath); parent::tearDown(); }
public function tearDown() { $this->finder->deleteDirectory($this->modulePath); $this->finder->delete($this->finder->allFiles(base_path('database/migrations'))); parent::tearDown(); }
public function setUp() { parent::setUp(); $this->repository = new Repository($this->app); $this->finder = $this->app['files']; }
public function setUp() { parent::setUp(); $this->module = new Module($this->app, 'Recipe', __DIR__ . '/stubs/Recipe'); }
public function setUp() { parent::setUp(); $path = __DIR__ . '/stubs/module.json'; $this->json = new Json($path, $this->app['files']); }
public function setUp() { parent::setUp(); $this->repository = new Repository($this->app); }