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 $ticketId;
|
||||||
private $content;
|
private $content;
|
||||||
|
|
||||||
|
public function validations() {
|
||||||
|
return [
|
||||||
|
'permission' => 'any',
|
||||||
|
'requestData' => []
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function handler() {
|
public function handler() {
|
||||||
$this->requestData();
|
$this->requestData();
|
||||||
$this->storeComment();
|
$this->storeComment();
|
||||||
|
|
Loading…
Reference in New Issue