19-05-2026 Rebrand Pressekonto, Hub-Flux UI und Legacy-Media-Migration

Umbenennung presseportale → pressekonto in Domains, Themes und Dokumentation.
Design-Tokens, Portal-Shell, Customer-Dashboard, Auth- und Admin-PM-Views.
Artisan-Befehl migrate:legacy-media mit Tests und Hub-Flux-Entwicklungsdocs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Kevin Adametz 2026-05-19 16:36:13 +00:00
parent 092ee0e918
commit 0a3e52d603
112 changed files with 8464 additions and 1649 deletions

View file

@ -6,7 +6,7 @@ use Tests\TestCase;
test('login screen can be rendered', function () {
/** @var TestCase $this */
$portalUrl = rtrim((string) config('domains.domain_portal_url', 'http://presseportale.test'), '/');
$portalUrl = rtrim((string) config('domains.domain_portal_url', 'http://pressekonto.test'), '/');
$response = $this->get($portalUrl.'/login');
$response->assertStatus(200);
@ -14,7 +14,10 @@ test('login screen can be rendered', function () {
test('users can authenticate using the login screen', function () {
/** @var TestCase $this */
$user = User::factory()->create();
// Super-Admin damit canAccessAdmin() === true → Login-Redirect auf /dashboard.
// Seit der rollen-basierten Redirect-Logik (Phase 1) landen rollenlose
// User auf '/', nicht mehr auf /dashboard.
$user = User::factory()->superAdmin()->create();
$response = LivewireVolt::test('auth.login')
->set('email', $user->email)