Exemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     $this->user = $this->createUsers();
     $this->data = ['user_id' => $this->user->id, 'title' => 'my title', 'body' => 'This is the body', 'type' => 'text'];
     $this->group = $this->createGroup($this->user->id);
     $this->post = Groups::createPost($this->data);
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->addedComment = $this->createGroupPostAndComment();
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->user = $this->createUsers();
     $this->data = ['name' => 'Lorem'];
 }
Exemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->user = $this->createUsers();
     $this->comment = $this->createGroupPostAndComment();
 }