Pin the schema refusal for a Present record without an instance id
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
db5c21a558
commit
8445c6b45a
1 changed files with 4 additions and 2 deletions
|
|
@ -6328,9 +6328,11 @@ mod tests {
|
|||
.sign(&mut nameless)
|
||||
.and_then(|canonical| world.authenticate(&canonical))
|
||||
.expect_err("absent instance id must not read as ours");
|
||||
// Likewise refused at encoding: a Present record must carry its
|
||||
// instance id ("runtime instance identity and observation evidence are
|
||||
// partial").
|
||||
assert!(
|
||||
format!("{error:#}").contains("lacks an authenticated runtime session")
|
||||
|| format!("{error:#}").contains("does not bind the current activation"),
|
||||
format!("{error:#}").contains("are partial"),
|
||||
"{error:#}"
|
||||
);
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Reference in a new issue