Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The fields should be name and description, not name and title
  • Loading branch information
joseph-d authored Sep 22, 2023
1 parent e7daf39 commit e1a4bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Test method `test_old_value_stays_in_form_after_validation_error()`.

## Task 6. Form Request Validation.

In `app/Http/Controllers/ItemController.php` file, validation is performed via class StoreItemRequest, but that class doesn't exist, intentionally. Your task is to create it, with parameters of authorized true, and validation rules of name/title as required fields.
In `app/Http/Controllers/ItemController.php` file, validation is performed via class StoreItemRequest, but that class doesn't exist, intentionally. Your task is to create it, with parameters of authorized true, and validation rules of name/description as required fields.

Test method `test_form_request_validation()`.

Expand Down

0 comments on commit e1a4bd6

Please sign in to comment.