From: Pierre Rudloff Date: Wed, 18 Jul 2018 19:36:51 +0000 (+0200) Subject: Fix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b057906bedb0cc3314e9f1b07645d55b89cc8bed;p=friendica.git Fix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398) --- diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 1854c996b0..4e27290195 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -1202,7 +1202,8 @@ class ApiTest extends DatabaseTest { $_FILES = [ 'media' => [ - 'id' => 666 + 'id' => 666, + 'tmp_name' => 'tmp_name' ] ]; api_media_upload();