Registry tests: the helper voter's device id no longer embeds the subject key

Commit b17436c does not pass: the forged-key test failed on an invalid device id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 20:00:04 +02:00
commit 34325e0efd

View file

@ -340,7 +340,7 @@ public sealed class ConceptSubjectRegistryTests
public async Task<CastResult> Cast(string key, ConceptStance stance)
{
await using var db = NewDb();
var voter = VoterIdentity.For(CurrentBifrostActor.Anonymous, "device-" + key + stance)!;
var voter = VoterIdentity.For(CurrentBifrostActor.Anonymous, "device-" + stance)!;
return await Appraisals(db).CastAsync(Collection, key, voter, stance, IPAddress.Parse("203.0.113.7"), default);
}