ilyavorozhbit's avatar

Mock in feature test

Hi all!

I'm writing a feature test, and in that test I need mock one method of some service, and then I need make $this->actingAs(...)->post(), which will use that service.

But I don't know how to do it. Is it possible? Thank you

0 likes
1 reply
Sergiu17's avatar

Hi, show us the method which is triggered when you submit the post request

Please or to participate in this conversation.