Tests
This commit is contained in:
@@ -113,13 +113,13 @@ class ReportTest extends MockedTest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'default' => [
|
'default' => [
|
||||||
'uid' => 12,
|
|
||||||
'reporter-id' => 14,
|
'reporter-id' => 14,
|
||||||
'cid' => 13,
|
'cid' => 13,
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
'category' => null,
|
'category' => null,
|
||||||
'forward' => false,
|
'forward' => false,
|
||||||
'postUriIds' => [],
|
'postUriIds' => [],
|
||||||
|
'uid' => 12,
|
||||||
'assertion' => new Entity\Report(
|
'assertion' => new Entity\Report(
|
||||||
14,
|
14,
|
||||||
13,
|
13,
|
||||||
@@ -133,13 +133,13 @@ class ReportTest extends MockedTest
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
'full' => [
|
'full' => [
|
||||||
'uid' => 12,
|
|
||||||
'reporter-id' => 14,
|
'reporter-id' => 14,
|
||||||
'cid' => 13,
|
'cid' => 13,
|
||||||
'comment' => 'Report',
|
'comment' => 'Report',
|
||||||
'category' => 'violation',
|
'category' => 'violation',
|
||||||
'forward' => true,
|
'forward' => true,
|
||||||
'postUriIds' => [89, 90],
|
'postUriIds' => [89, 90],
|
||||||
|
'uid' => 12,
|
||||||
'assertion' => new Entity\Report(
|
'assertion' => new Entity\Report(
|
||||||
14,
|
14,
|
||||||
13,
|
13,
|
||||||
|
|||||||
Reference in New Issue
Block a user