public function testPostEdit403()
 {
     $this->upFixture(new SamplePostsFixture());
     $post = SamplePostsFixture::getPost(1);
     $json = ["content" => "* Demo Post Content"];
     $this->requestPostEditPost($post->getId(), $json)->execute()->expectAuthError();
 }
 public function testGetPost200()
 {
     $this->upFixture(new SamplePostsFixture());
     $post = SamplePostsFixture::getPost(1);
     return $this->requestPostGet($post->getId())->execute()->expectJSONContentType()->expectStatusCode(200)->expectJSONBody(['success' => true]);
 }
 public function testDeletePost403()
 {
     $this->upFixture(new SamplePostsFixture());
     $this->requestPostDelete(SamplePostsFixture::getPost(1)->getId())->execute()->expectAuthError();
 }