By Andrew McDonald 10th May 2017
In my last post, Testing In Laravel, I spoke about the importance of functionality testing during large scale projects and how we can achieve this via the tools that come packaged with Laravel. In that post I gave an example of a very simple Laravel test, where it will click a link and see if the page is redirected to a login page. In this part we will create a test for the actual submission of a form and test both an instance of a failure ...