Laravel, PHP, Programming, Testing
Scenario Our form is expecting user input from a specific field is typed in all capital letters so we have a custom validation rule to check if the input is uppercase. Writing tests for a custom Laravel validation rule is ...
Something I ran into a while back while writing tests. If intentionally testing code for an exception then it is required to add an annotation above the test method.