feat: include testing, factories, git workflow for testing.
All checks were successful
Tests / Laravel tests (pull_request) Successful in 3m31s

This commit is contained in:
2026-06-03 21:23:39 +02:00
parent d83fce834a
commit 9df6c0ab46
20 changed files with 732 additions and 13 deletions

View File

@@ -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 () {