bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

Allow mock() to set the _POST arguments for PUT and PATCH mehtods #1211

Closed Frolki1-Dev closed 3 years ago

Frolki1-Dev commented 3 years ago

I had a problem in my tests, that PUT and PATCH ignored the arguments that i passed.

With this pull request I fix this, that also on a PUT or PATCH request will pass the arguments in the _POST.