Fix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398)
This commit is contained in:
parent
9518145377
commit
b057906bed
1 changed files with 2 additions and 1 deletions
|
@ -1202,7 +1202,8 @@ class ApiTest extends DatabaseTest
|
||||||
{
|
{
|
||||||
$_FILES = [
|
$_FILES = [
|
||||||
'media' => [
|
'media' => [
|
||||||
'id' => 666
|
'id' => 666,
|
||||||
|
'tmp_name' => 'tmp_name'
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
api_media_upload();
|
api_media_upload();
|
||||||
|
|
Loading…
Reference in a new issue