This free course uses older versions of Laravel. It is provided as-is, without ongoing updates or individual support.
In this lesson, we refactor the charges_with_an_invalid_payment_token_fail tests to make them identical, and then extract it to our contract test.