public function setUp() { parent::setUp(); /** @var \Illuminate\Console\Application $artisan */ $artisan = $this->app->make('Illuminate\\Console\\Application'); $artisan->call('module:migrate', ['module' => 'Blog']); $this->post = app('Modules\\Blog\\Repositories\\PostRepository'); $this->tag = app('Modules\\Blog\\Repositories\\TagRepository'); }
public function setUp() { parent::setUp(); $this->theme = new Theme('demo', $this->getPath()); }
/** * */ public function setUp() { parent::setUp(); $this->repository = new ThemeManager($this->app, $this->getPath()); }