Ivan - Fix master phpunit build: Add validations to comment
This commit is contained in:
parent
ab6b2326b9
commit
9312baa3b0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue