mardi 25 décembre 2018

Laravel 5.7: Phpunit testing, MethodNotAllowedHttpException

In Laravel 5.7 PHPUnit testing, I am getting MethodNotAllowedHttpException on post a request. I did not understand why.

I am using simple this method to send post request. $this->post('/path', ['body' => 'foobar']);

Please guide, How can I fix this issue.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2BPH14n
via IFTTT

Aucun commentaire:

Enregistrer un commentaire