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
Since version 2.2.2, it seems to be broken. I get an error that the value of key image is invalid.
I changed the UploadedFile to the indexed array version and it works.
Is it normal ?
I never knew Symfony\Component\HttpFoundation\File\UploadedFile can be passed, he-he )
It class is not even part of Codeception package so this behavior was not expected.
But if @Naktibalda will provide a way to do this that would be useful too. Probably we will need to update docs to specify such behavior
Activity
DavertMik commentedon Jun 30, 2016
I never knew
Symfony\Component\HttpFoundation\File\UploadedFilecan be passed, he-he )It class is not even part of Codeception package so this behavior was not expected.
But if @Naktibalda will provide a way to do this that would be useful too. Probably we will need to update docs to specify such behavior
Naktibalda commentedon Jun 30, 2016
Anything that's expected by a framework could be passed.
We really need to document file uploads.
[REST] Allow objects in files array Codeception#3298