lernschiff/tests/Feature
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
..
Auth feat(cors): config/cors.php supports_credentials + CORS tests + Reverb allowed_origins 2026-05-22 06:14:48 +02:00
DevQuickLogin fix: quick-login 500 + Vite asset https scheme (TDD) 2026-05-22 14:46:26 +02:00
License feat(license): EnsureActiveLicense full implementation + license/dashboard routes 2026-05-22 05:16:06 +02:00
Models fix(tenant): forceDelete guard, hasRole eager-load, write-path test, migration timestamps 2026-05-22 01:07:26 +02:00
QuickLogin feat(dev): seeders + DevQuickLogin with double-defense guard 2026-05-22 06:09:28 +02:00
Tenant fix(tenant): forceDelete guard, hasRole eager-load, write-path test, migration timestamps 2026-05-22 01:07:26 +02:00
UUID feat(api): UUID-only response test + WireModal pattern doc 2026-05-22 06:20:26 +02:00
User test(user): add parent-side cascade test, remove unused import 2026-05-22 05:20:16 +02:00
Wire feat(api): UUID-only response test + WireModal pattern doc 2026-05-22 06:20:26 +02:00
ExampleTest.php feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00
ProfileTest.php feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00