Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Handle file uploads correct #275

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

TerjeBr
Copy link

@TerjeBr TerjeBr commented Mar 26, 2019

Currently if you specify a file to be uploaded, that file is treated as the temporary upload file normally created by php. That is wrong behaviour, since that temporary file is usually moved or removed by the php application under test. So the next time you run the behat test the file that you used for the upload is not there anymore.

This is a PR to fix this. This PR also removes the temporary files it created afterwards if the application has not removed them.

@TerjeBr
Copy link
Author

TerjeBr commented Sep 3, 2019

It has been 6 months now.
Could someone with merge rights please look into this?

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

Successfully merging this pull request may close these issues.

1 participant