lernschiff/tests
Boban Blaskovic 5704d0fb58 fix: quick-login 500 + Vite asset https scheme (TDD)
BUG B — navigation.blade.php crashed on null auth()->user() for
unauthenticated visitors of /dev/quick-login. Two-layer fix:
- DevQuickLogin: add #[Layout('components.layouts.auth')] so page
  renders without the authenticated navigation bar
- navigation.blade.php: null-safe ?-> on all auth()->user() calls
  (three occurrences: name, name again, email) as defense-in-depth

BUG A — @vite() generated http:// asset URLs causing Mixed Content
on HTTPS domain. Root cause: ASSET_URL removed but APP_URL changed to
http://localhost by previous agent. Fixed: APP_URL restored to
https://app.dev.lernschiff.com so URL::forceScheme('https') activates
and assets render as https://app.dev.lernschiff.com/build/assets/*.

TDD: test written → RED (500) → fix → GREEN. 46/46 pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>
2026-05-22 14:46:26 +02:00
..
Browser feat(testing): Pest v3 + Dusk + phpunit.xml.dist SESSION overrides + laravel/reverb 2026-05-22 00:32:10 +02:00
Feature fix: quick-login 500 + Vite asset https scheme (TDD) 2026-05-22 14:46:26 +02:00
Unit feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00
DuskTestCase.php feat(testing): Pest v3 + Dusk + phpunit.xml.dist SESSION overrides + laravel/reverb 2026-05-22 00:32:10 +02:00
Pest.php feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00
TestCase.php feat(scaffold): Laravel 12 scaffold + .env.example 2026-05-22 00:19:49 +02:00