This free course uses older versions of Laravel. It is provided as-is, without ongoing updates or individual support.
A common misconception about testing is that you should mock calls to external APIs to avoid the network.
In this lesson, we compare the pros and cons of integrating with Stripe vs. mocking our calls to Stripe to better understand why shouldn't mock third-party code.