コード例 #1
0
 public function setUp()
 {
     parent::setUp();
     Artisan::call('migrate');
     Idea::boot();
     $this->eloquent_idea = $this->app->make('Giftertipster\\Entity\\Eloquent\\Idea');
 }
コード例 #2
0
 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'];
 }