Example #1
0
 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');
 }
Example #2
0
 public function setUp()
 {
     parent::setUp();
     $this->theme = new Theme('demo', $this->getPath());
 }
Example #3
0
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->repository = new ThemeManager($this->app, $this->getPath());
 }