Often you have a form in your application that has a file input (logo, picture, etc...) and you would like to test it.
You might have been stuck when trying to test that form, puzzled at the odd errors you got while you did used the attach() method provided in the Laravel Integrated test package.
I will show you how to smoothly send a file to your server when you run your PHPUnit test suite.