Fix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398)

This commit is contained in:
Pierre Rudloff 2018-07-18 21:36:51 +02:00 committed by Hypolite Petovan
parent 9518145377
commit b057906bed

View file

@ -1202,7 +1202,8 @@ class ApiTest extends DatabaseTest
{
$_FILES = [
'media' => [
'id' => 666
'id' => 666,
'tmp_name' => 'tmp_name'
]
];
api_media_upload();