Tests
This commit is contained in:
parent
8a7d08ae28
commit
59a848c8ec
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,7 @@ class ReportTest extends MockedTest
|
||||||
'reporter-id' => 14,
|
'reporter-id' => 14,
|
||||||
'cid' => 13,
|
'cid' => 13,
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
|
'category' => null,
|
||||||
'forward' => false,
|
'forward' => false,
|
||||||
'created' => null
|
'created' => null
|
||||||
],
|
],
|
||||||
|
@ -61,6 +62,7 @@ class ReportTest extends MockedTest
|
||||||
'reporter-id' => 14,
|
'reporter-id' => 14,
|
||||||
'cid' => 13,
|
'cid' => 13,
|
||||||
'comment' => 'Report',
|
'comment' => 'Report',
|
||||||
|
'category' => 'violation',
|
||||||
'forward' => true,
|
'forward' => true,
|
||||||
'created' => '2021-10-12 12:23:00'
|
'created' => '2021-10-12 12:23:00'
|
||||||
],
|
],
|
||||||
|
@ -115,6 +117,7 @@ class ReportTest extends MockedTest
|
||||||
'reporter-id' => 14,
|
'reporter-id' => 14,
|
||||||
'cid' => 13,
|
'cid' => 13,
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
|
'category' => null,
|
||||||
'forward' => false,
|
'forward' => false,
|
||||||
'postUriIds' => [],
|
'postUriIds' => [],
|
||||||
'assertion' => new Entity\Report(
|
'assertion' => new Entity\Report(
|
||||||
|
@ -134,6 +137,7 @@ class ReportTest extends MockedTest
|
||||||
'reporter-id' => 14,
|
'reporter-id' => 14,
|
||||||
'cid' => 13,
|
'cid' => 13,
|
||||||
'comment' => 'Report',
|
'comment' => 'Report',
|
||||||
|
'category' => 'violation',
|
||||||
'forward' => true,
|
'forward' => true,
|
||||||
'postUriIds' => [89, 90],
|
'postUriIds' => [89, 90],
|
||||||
'assertion' => new Entity\Report(
|
'assertion' => new Entity\Report(
|
||||||
|
|
Loading…
Reference in a new issue