Let's figure out how we can create a Request object and feed it the information that it will need.
In normal application execution, the Request would get this information from the superglobals, but we need to hijack this in our tests and give it the information manually.
Branch: https://github.com/GaryClarke/pest-tdd/tree/9-request-class
2 comments