]> git.mxchange.org Git - friendica.git/commitdiff
Tests
authorMichael <heluecht@pirati.ca>
Sun, 25 Dec 2022 07:40:19 +0000 (07:40 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 25 Dec 2022 07:40:19 +0000 (07:40 +0000)
tests/src/Moderation/Factory/ReportTest.php

index f21dd2ec4ec3b6b5364b53165e2850842fb66ed5..be406f499eddb99ee0be286a02a74e0a1ffab84a 100644 (file)
@@ -113,13 +113,13 @@ class ReportTest extends MockedTest
        {
                return [
                        'default' => [
-                               'uid'         => 12,
                                'reporter-id' => 14,
                                'cid'         => 13,
                                'comment'     => '',
                                'category'    => null,
                                'forward'     => false,
                                'postUriIds'  => [],
+                               'uid'         => 12,
                                'assertion'   => new Entity\Report(
                                        14,
                                        13,
@@ -133,13 +133,13 @@ class ReportTest extends MockedTest
                                ),
                        ],
                        'full' => [
-                               'uid'         => 12,
                                'reporter-id' => 14,
                                'cid'         => 13,
                                'comment'     => 'Report',
                                'category'    => 'violation',
                                'forward'     => true,
                                'postUriIds'  => [89, 90],
+                               'uid'         => 12,
                                'assertion'   => new Entity\Report(
                                        14,
                                        13,