Update default branding palette for tenants and guests
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-15 09:32:51 +01:00
parent 10232cf40e
commit 9cb236f123
15 changed files with 42 additions and 42 deletions

View File

@@ -38,7 +38,7 @@ class SettingsApiTest extends TenantTestCase
$response->assertStatus(200)
->assertJson(['message' => 'Settings erfolgreich abgerufen.'])
->assertJsonPath('data.settings.branding.primary_color', '#3B82F6')
->assertJsonPath('data.settings.branding.primary_color', '#FF5A5F')
->assertJsonPath('data.settings.features.photo_likes_enabled', true);
}
@@ -101,7 +101,7 @@ class SettingsApiTest extends TenantTestCase
$response->assertStatus(200)
->assertJson(['message' => 'Settings auf Standardwerte zurueckgesetzt.'])
->assertJsonPath('data.settings.branding.primary_color', '#3B82F6')
->assertJsonPath('data.settings.branding.primary_color', '#FF5A5F')
->assertJsonPath('data.settings.features.photo_likes_enabled', true);
$this->assertDatabaseHas('tenants', [
@@ -109,8 +109,8 @@ class SettingsApiTest extends TenantTestCase
'settings' => json_encode([
'branding' => [
'logo_url' => null,
'primary_color' => '#3B82F6',
'secondary_color' => '#1F2937',
'primary_color' => '#FF5A5F',
'secondary_color' => '#FFF8F5',
'font_family' => 'Inter, sans-serif',
],
'features' => [
@@ -185,7 +185,7 @@ class SettingsApiTest extends TenantTestCase
$response = $this->authenticatedRequest('GET', '/api/v1/tenant/settings');
$response->assertStatus(200)
->assertJsonPath('data.settings.branding.primary_color', '#3B82F6') // Default for this tenant
->assertJsonPath('data.settings.branding.primary_color', '#FF5A5F') // Default for this tenant
->assertJsonMissing(['#FF0000']); // Other tenant's color
}
}