Hai am new in laravel testing .I have facing below issue
Here is my code public function testnewhistory() { $response = $this->json('POST', '/api/testnewhistory', ['api_token' => 'addsdsd478d8sds5d5qwde5qwc5s5dcs4d4@1343w','userID'=>5]); //dd($response); $response ->assertStatus(201) ->assertJson([ 'message_staus' => '1', ]); } Please advice anyone .
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community