How to test status responses with PHPunit in Laravel

前端 未结 0 1204
渐次进展
渐次进展 2020-12-14 04:27

I want to learn testing API with PHPunit and Laravel. I created a feature test to test the three possible status (200, 400 and 404) that I can receive from a DELETE API.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题