V13-FE-006: consolidate approved UI and contract hardening
deploy / deploy (push) Successful in 1m52s
deploy / notify (push) Successful in 1s

This commit is contained in:
2026-08-13 02:41:00 +09:00
parent d79edae546
commit 3f293d8aa8
1278 changed files with 14384 additions and 1664 deletions
@@ -0,0 +1,7 @@
using Xunit;
namespace Kbx.Shared.Telemetry.Tests;
public sealed class KbxUxTelemetryGuardTests
{
[Fact] public void Rejects_unknown_event()=>Assert.Throws<ArgumentException>(()=>KbxUxTelemetryGuard.Validate(new("unknown.event",null,null,Guid.NewGuid(),null,null,null,null,DateTimeOffset.UtcNow,null,1,null)));
[Fact] public void Rejects_non_allowlisted_attribute()=>Assert.Throws<ArgumentException>(()=>KbxUxTelemetryGuard.Validate(new("screen.open","OMS-ORD-001","1.0.0",Guid.NewGuid(),null,null,null,null,DateTimeOffset.UtcNow,null,1,new Dictionary<string,string>{{"phone","01012345678"}})));
}