-
Notifications
You must be signed in to change notification settings - Fork 0
Week 11 review #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: week-11
Are you sure you want to change the base?
Week 11 review #14
Conversation
aaronsaray
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is missing validation tests
| 'email' => '[email protected]', | ||
| ]); | ||
|
|
||
| $payload = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this terminology.
| static::assertSame('[email protected]', $user->email); | ||
|
|
||
| $component->assertSessionHas('success', 'Profile updated successfully.'); | ||
| $component->assertRedirect(route('profile')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't have assertRedirectToRoute available?
| ->set($payload) | ||
| ->call('submit'); | ||
|
|
||
| $component->assertHasErrors([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to validate length and the other things, though.
|
No description provided.