mardi 27 février 2018

Missing required parameters for [Route] unit testing

I have this piece of code for feature test for controller store method

$response= $this->post(route('contact.store'),[$client->value])

but I got this error

Missing required parameters for [Route: contact.store] [URI: client/{clientValue}/contact].

How I can fix this ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2EZEW5Y
via IFTTT

Aucun commentaire:

Enregistrer un commentaire