skip to Main Content

How to test json api? – Laravel

I have a test, which testing displaying deals. This test failed and show error Failed asserting that an array has the key 'user_id'.` I don't know reason why this error is public function a_test_display_deals() { $user = User::factory()->create(); $response =…

VIEW QUESTION
Back To Top
Search