You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2021. It is now read-only.
Scenario: Check that I can upload a new media
When I send a "POST" request to "/sites/14/uploads/media" with parameters:
| key | value |
| api_upload_media[medias][0] | @box.png |
Then the response status code should be 201
And the JSON node with path "0.id" should be equal to "99"
I get the following error : An uploaded file must be an array or an instance of UploadedFile. (InvalidArgumentException)
Using this scenario :
I get the following error :
An uploaded file must be an array or an instance of UploadedFile. (InvalidArgumentException)