]> git.mxchange.org Git - friendica.git/commitdiff
The API test should now complete again
authorMichael <heluecht@pirati.ca>
Tue, 2 Oct 2018 07:38:43 +0000 (07:38 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 2 Oct 2018 07:38:43 +0000 (07:38 +0000)
tests/ApiTest.php

index a3e1ced68396f016cfa7cd3c414c2c38c903a9d6..941ed96bf8b6078ea00443c4138e83ed9f7984d1 100644 (file)
@@ -3388,7 +3388,7 @@ class ApiTest extends DatabaseTest
         */
        public function testApiShareAsRetweet()
        {
-               $item = ['body' => ''];
+               $item = ['body' => '', 'author-id' => 1, 'owner-id' => 1];
                $result = api_share_as_retweet($item);
                $this->assertFalse($result);
        }