kewwa
446
4
Testing

Test Doesnt Display Errors Correctly

Posted 2 years ago by kewwa

I'm trying to do test driven programming but can't get my errors to display correctly.

For example this code will pass $response = $this->get('/workername') Even though I don't have controller method created yet.

When I dd($response) then I there is exception error: #message: "Method App\Http\Controllers\WorkersController::show() does not exist"

Tried to google but never found any working solutions.

Kevin

Please sign in or create an account to participate in this conversation.