feat: include testing, factories, git workflow for testing.
All checks were successful
Tests / Laravel tests (pull_request) Successful in 3m31s
All checks were successful
Tests / Laravel tests (pull_request) Successful in 3m31s
This commit is contained in:
@@ -12,7 +12,7 @@ test('profile page is displayed', function () {
|
||||
$response->assertOk();
|
||||
});
|
||||
|
||||
test('profile information can be updated', function () {
|
||||
test('profile information can be updated without changing email verification status', function () {
|
||||
$user = User::factory()->create();
|
||||
|
||||
$response = $this
|
||||
@@ -30,7 +30,7 @@ test('profile information can be updated', function () {
|
||||
|
||||
$this->assertSame('Test User', $user->name);
|
||||
$this->assertSame('test@example.com', $user->email);
|
||||
$this->assertNull($user->email_verified_at);
|
||||
$this->assertNotNull($user->email_verified_at);
|
||||
});
|
||||
|
||||
test('email verification status is unchanged when the email address is unchanged', function () {
|
||||
|
||||
Reference in New Issue
Block a user