Ivan - Fix master phpunit build: Add validations to comment

This commit is contained in:
ivan 2016-07-08 04:46:28 -03:00
parent ab6b2326b9
commit 9312baa3b0
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@ class CommentController extends Controller {
private $ticketId;
private $content;
public function validations() {
return [
'permission' => 'any',
'requestData' => []
];
}
public function handler() {
$this->requestData();
$this->storeComment();