From f0287eec2f56008ff1ba636556578b57f3467dcf Mon Sep 17 00:00:00 2001 From: Lars Date: Sun, 22 Nov 2026 20:02:41 +0100 Subject: [PATCH] Mache den Anmeldetest deterministisch und entferne die doppelte Meldung in der Kasse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RegistrationTest: Der Name kam aus dem Faker und enthielt gelegentlich ein Apostroph (O'Hara), das im HTML maskiert wird; der Test schlug dadurch zufällig im Gitea-Lauf fehl. Der Name ist jetzt fest, die Assertion unverändert. Co-Authored-By: Claude Sonnet 5.5 --- resources/views/shop/checkout.blade.php | 3 --- tests/Feature/RegistrationTest.php | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/views/shop/checkout.blade.php b/resources/views/shop/checkout.blade.php index af32c58..e3d5e3d 100644 --- a/resources/views/shop/checkout.blade.php +++ b/resources/views/shop/checkout.blade.php @@ -16,9 +16,6 @@

Testbetrieb: Es wird kein echtes Geld bewegt. Rechtstexte und Steuerangaben sind noch nicht freigegeben.

@endunless - @if (session('status')) -

{{ session('status') }}

- @endif @if ($errors->has('checkout') || $errors->has('zustimmung')) @endif diff --git a/tests/Feature/RegistrationTest.php b/tests/Feature/RegistrationTest.php index c09b574..7a09e29 100644 --- a/tests/Feature/RegistrationTest.php +++ b/tests/Feature/RegistrationTest.php @@ -83,6 +83,7 @@ public function test_placeholder_app_url_uses_the_address_opened_in_the_browser( public function test_verified_member_can_log_in_and_reaches_the_dashboard(): void { $user = User::factory()->create([ + 'name' => 'Ada Trainer', 'email' => 'ada@example.com', 'password' => 'password-pass', ]);