Release 2.57 (#5929)
This commit is contained in:
@@ -325,6 +325,15 @@ abstract class APIControllerBaseTestCase extends AbstractControllerBaseTestCase
|
||||
'metaFields' => ['result' => 'array', 'type' => 'InvoiceMeta'],
|
||||
];
|
||||
|
||||
case 'Comment':
|
||||
return [
|
||||
'id' => 'int',
|
||||
'message' => 'string',
|
||||
'createdBy' => ['result' => 'object', 'type' => '@User'],
|
||||
'createdAt' => '@datetime',
|
||||
'pinned' => 'bool',
|
||||
];
|
||||
|
||||
case 'PageActionItem':
|
||||
return [
|
||||
'id' => 'string',
|
||||
|
||||
Reference in New Issue
Block a user