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 has been archived by the owner on Apr 20, 2021. It is now read-only.
Scenario: As logged User I cannot get attachment other users uploaded
Given I send a POST request to "/rest/index.php" with parameters:
| key | value |
| foo | bar |
| foofile | @dummy_img.png |
And I add "Content-Type" header equal to "application/x-www-form-urlencoded"
Then I should see "You have sent a POST request. "
And I should see "1 parameter(s)"
And I should see "1 file(s)"
And I should see "foo : bar"
And I should see "foofile - name : lorem.txt"
And I should see "foofile - error : 0"
And I should see "foofile - size : 39"
The problem I am getting is:
An uploaded file must be an array or an instance of UploadedFile. (InvalidArgumentException)
I am trying this test on Symfony app
The problem I am getting is:
An uploaded file must be an array or an instance of UploadedFile. (InvalidArgumentException)
This is my behat config:
Do I need to include some other context to get this working. key value is sent in files but for some reasons symfony cannot build that in ParatmerBag
The text was updated successfully, but these errors were encountered: