Category: testing

Symfony 4 – PHPUnit – Difficults with the setUp() method

I’m following the Symfony Cast Stripe formation. They use Symfony 3 and I use Symfony 4. I try to make some test like in the formation : https://symfonycasts.com/screencast/stripe-level2/testing-webhooks#play But when I run the test, I’ve this error : Fatal error:…