]> git.mxchange.org Git - friendica.git/commitdiff
Fix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398)
authorPierre Rudloff <contact@rudloff.pro>
Wed, 18 Jul 2018 19:36:51 +0000 (21:36 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Wed, 18 Jul 2018 19:36:51 +0000 (15:36 -0400)
tests/ApiTest.php

index 1854c996b0ffbd258e369775744431efca10912b..4e272901955b6197f388aec13d14b4906a302c85 100644 (file)
@@ -1202,7 +1202,8 @@ class ApiTest extends DatabaseTest
        {
                $_FILES = [
                        'media' => [
-                               'id' => 666
+                               'id' => 666,
+                               'tmp_name' => 'tmp_name'
                        ]
                ];
                api_media_upload();