Level 50
Please watch this video...
https://laracasts.com/lessons/testing-with-virtual-file-systems
2 likes
I was thinking, how can you mock and test if file upload works as intended? I mean, a proper unit test. See it pass, see it fail... Can I just use a file I have on my HDD and feed the path?
Please or to participate in this conversation.