module-rest icon indicating copy to clipboard operation
module-rest copied to clipboard

Sending of attachment file as array doesn't work

Open Nitro-N opened this issue 4 years ago • 2 comments

Variable $value should be used as link $files as $name => &$value https://github.com/Codeception/module-rest/blob/54021377e811c88e65798910de5b506e956e61a6/src/Codeception/Module/REST.php#L761

Nitro-N avatar Sep 20 '21 04:09 Nitro-N

Thanks for pointing it out, providing FILES style array was broken for 5 years, since https://github.com/Codeception/Codeception/pull/3244

Naktibalda avatar Sep 20 '21 13:09 Naktibalda

well, not completely broken, but auto-filling missing fields wasn't working and it was easy to workaround by providing all fields.

Naktibalda avatar Sep 20 '21 14:09 Naktibalda