Adjust branding defaults and tenant presets
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-30 18:15:52 +01:00
parent b1f9f7cee0
commit e39ddd2143
9 changed files with 592 additions and 220 deletions

View File

@@ -84,7 +84,7 @@ class EventBrandingResponseTest extends TestCase
$response->assertJsonPath('branding.mode', 'dark');
}
public function test_it_uses_tenant_branding_when_use_default_flag_is_enabled(): void
public function test_it_does_not_override_event_branding_with_tenant_defaults(): void
{
$package = Package::factory()->create([
'branding_allowed' => true,
@@ -129,9 +129,8 @@ class EventBrandingResponseTest extends TestCase
$response->assertOk();
$response->assertJsonPath('branding.use_default_branding', true);
$response->assertJsonPath('branding.primary_color', '#abcdef');
$response->assertJsonPath('branding.secondary_color', '#fedcba');
$response->assertJsonPath('branding.buttons.radius', 8);
$response->assertJsonPath('branding.primary_color', '#000000');
$response->assertJsonPath('branding.secondary_color', '#111111');
}
public function test_branding_asset_uses_public_disk(): void