]> git.mxchange.org Git - friendica.git/commitdiff
Tests
authorMichael <heluecht@pirati.ca>
Sat, 24 Dec 2022 23:26:54 +0000 (23:26 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 24 Dec 2022 23:26:54 +0000 (23:26 +0000)
tests/src/Moderation/Factory/ReportTest.php

index ea4133fea4e52c078d27eb21bd44f96ab4309381..5eb4cb323e30bbe8a12f27735783d85f17bb68e0 100644 (file)
@@ -38,6 +38,7 @@ class ReportTest extends MockedTest
                                        'reporter-id' => 14,
                                        'cid'         => 13,
                                        'comment'     => '',
+                                       'category'    => null,
                                        'forward'     => false,
                                        'created'     => null
                                ],
@@ -61,6 +62,7 @@ class ReportTest extends MockedTest
                                        'reporter-id' => 14,
                                        'cid'         => 13,
                                        'comment'     => 'Report',
+                                       'category'    => 'violation',
                                        'forward'     => true,
                                        'created'     => '2021-10-12 12:23:00'
                                ],
@@ -115,6 +117,7 @@ class ReportTest extends MockedTest
                                'reporter-id' => 14,
                                'cid'         => 13,
                                'comment'     => '',
+                               'category'    => null,
                                'forward'     => false,
                                'postUriIds'  => [],
                                'assertion'   => new Entity\Report(
@@ -134,6 +137,7 @@ class ReportTest extends MockedTest
                                'reporter-id' => 14,
                                'cid'         => 13,
                                'comment'     => 'Report',
+                               'category'    => 'violation',
                                'forward'     => true,
                                'postUriIds'  => [89, 90],
                                'assertion'   => new Entity\Report(