public function setUp() { parent::setUp(); $this->modulePath = base_path('modules/Blog'); $this->finder = $this->app['files']; $this->artisan('module:make', ['name' => ['Blog']]); }
public function setUp() { parent::setUp(); $this->modulePath = base_path('modules/Blog'); $this->finder = $this->app['files']; $this->artisan('module:make', ['name' => ['Blog']]); $this->artisan('module:make-migration', ['name' => 'create_posts_table', 'module' => 'Blog']); }
public function setUp() { parent::setUp(); $this->modulePath = base_path('modules/Blog'); $this->finder = $this->app['files']; $this->artisan('module:make', ['name' => ['Blog']]); $this->finder->put($this->modulePath . '/Assets/script.js', 'assetfile'); }
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->modulePath = base_path('modules/Blog'); $this->finder = $this->app['files']; }
public function setUp() { parent::setUp(); $this->repository = new Repository($this->app); }