neues Admin UI Layout eingeführt. Alle Tests auf den neusten Stand gebracht.

This commit is contained in:
Codex Agent
2025-12-30 10:24:06 +01:00
parent 902e78cae9
commit efe2f25b3e
85 changed files with 95235 additions and 19197 deletions

View File

@@ -3,7 +3,7 @@
namespace Tests\Feature\Auth;
use App\Models\User;
use Illuminate\Auth\Notifications\ResetPassword;
use App\Notifications\ResetPasswordNotification;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
@@ -27,7 +27,7 @@ class PasswordResetTest extends TestCase
$this->post(route('password.email'), ['email' => $user->email]);
Notification::assertSentTo($user, ResetPassword::class);
Notification::assertSentTo($user, ResetPasswordNotification::class);
}
public function test_reset_password_screen_can_be_rendered()
@@ -38,7 +38,7 @@ class PasswordResetTest extends TestCase
$this->post(route('password.email'), ['email' => $user->email]);
Notification::assertSentTo($user, ResetPassword::class, function ($notification) {
Notification::assertSentTo($user, ResetPasswordNotification::class, function ($notification) {
$response = $this->get(route('password.reset', $notification->token));
$response->assertStatus(200);
@@ -55,7 +55,7 @@ class PasswordResetTest extends TestCase
$this->post(route('password.email'), ['email' => $user->email]);
Notification::assertSentTo($user, ResetPassword::class, function ($notification) use ($user) {
Notification::assertSentTo($user, ResetPasswordNotification::class, function ($notification) use ($user) {
$response = $this->post(route('password.store'), [
'token' => $notification->token,
'email' => $user->email,