Support the ongoing development of Laravel.io →
Testing Laravel
Last updated by @arielenter 2 years ago.
0

After a few minutes of more meddling I found out it appears that, when sending some other value other than a string through phpunit ,the validation "required" seems to suggest that the value is taken as not being sent at all, which makes me believe that "post" request can only use strings. If so, then it's easy to understand why a test like the one I was suggesting wouldn't be necessary.

Last updated 2 years ago.
0
Solution selected by @arielenter

Sign in to participate in this thread!

Eventy

Your banner here too?

arielenter arielenter Joined 11 Oct 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.