Пример #1
0
 public function setUp()
 {
     parent::setUp();
     Capsule::schema()->create('issue1_model', function (Blueprint $table) {
         $table->bigIncrements('id');
         $table->longText('options');
     });
     $this->models = new Issue1Repository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->comments = new CommentRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->articles = new ArticleRepository(new ArticleHitRepository(), new CategoryRepository());
 }
Пример #4
0
 public function setUp()
 {
     parent::setUp();
     $this->hits = new ArticleHitRepository();
 }