Adjust branding defaults and tenant presets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user