public function setUp() { parent::setUp(); Artisan::call('migrate'); Idea::boot(); $this->eloquent_idea = $this->app->make('Giftertipster\\Entity\\Eloquent\\Idea'); }
public function setUp() { parent::setUp(); Artisan::call('migrate'); Idea::boot(); Add::boot(); $this->eloquent_add = $this->app->make('Giftertipster\\Entity\\Eloquent\\Add'); $this->add_repo = $this->app->make('Giftertipster\\Repository\\Add\\EloquentAddRepository'); $this->relations = ['occasionCategories', 'relationCategories', 'genderCategories', 'ageCategories', 'interestCategories', 'subInterestCategories']; }