We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19d96c2 commit 36b1049Copy full SHA for 36b1049
tests/ServiceProviderTest.php
@@ -70,13 +70,13 @@ public function test_validation_errors_are_returned_in_the_correct_format()
70
{
71
Session::put('errors', new MessageBag([
72
'name' => 'The name field is required.',
73
- 'email' => 'Not a valid email address',
+ 'email' => 'Not a valid email address.',
74
]));
75
76
$errors = Inertia::getShared('errors')();
77
78
$this->assertIsObject($errors);
79
$this->assertSame('The name field is required.', $errors->name);
80
- $this->assertSame('Not a valid email address', $errors->email);
+ $this->assertSame('Not a valid email address.', $errors->email);
81
}
82
0 commit comments