Level 60
If I got this right. The prepRequest method will not fake your patch from your test, it will fake any Http request inside the controller/callback function of your endpoint ( /api/catalogs/{catalog}/items/{item} )
https://laracasts.com/series/build-a-video-game-aggregator/episodes/13 check this
Otherwise, show your controller code
1 like