Registry tests: pin the refusal message shape
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a43f90b48d
commit
11df901cb6
1 changed files with 1 additions and 0 deletions
|
|
@ -179,6 +179,7 @@ public sealed class ConceptSubjectRegistryTests
|
|||
var refusal = Assert.Throws<ManifestRefusedException>(() => ConceptSubjectRegistry.ParseManifest(json));
|
||||
|
||||
Assert.Equal((field, code), (refusal.Field, refusal.Code));
|
||||
Assert.Equal($"{field}: {code}", refusal.Message);
|
||||
Assert.Empty(await world.Fresh(db => db.ConceptSubjects.ToListAsync()));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue