Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending of attachment file as array doesn't work #62

Open
Nitro-N opened this issue Sep 20, 2021 · 2 comments
Open

Sending of attachment file as array doesn't work #62

Nitro-N opened this issue Sep 20, 2021 · 2 comments

Comments

@Nitro-N
Copy link

Nitro-N commented Sep 20, 2021

Variable $value should be used as link $files as $name => &$value

$value['name'] = basename($value['tmp_name']);

@Naktibalda
Copy link
Member

Thanks for pointing it out, providing FILES style array was broken for 5 years, since Codeception/Codeception#3244

@Naktibalda
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants