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); }
public function setUp() { parent::setUp(); $this->addedComment = $this->createGroupPostAndComment(); }
public function setUp() { parent::setUp(); $this->user = $this->createUsers(); $this->data = ['name' => 'Lorem']; }
public function setUp() { parent::setUp(); $this->user = $this->createUsers(); $this->comment = $this->createGroupPostAndComment(); }