fix(identity): keep AGE as species

This commit is contained in:
冰朔 2026-08-16 18:12:38 +08:00
commit 3e317745b5
6 changed files with 41 additions and 20 deletions

View file

@ -252,7 +252,7 @@ mod tests {
message_type: "DIRECT".into(),
created_at: now_iso8601(),
sender: GlpSender {
object_id: "AGE-0001".into(),
object_id: "ICE-P-ZY001".into(),
object_type: "age".into(),
world_path: "glw://tolaria".into(),
},
@ -289,7 +289,7 @@ mod tests {
let json = serde_json::to_string(&message).unwrap();
let back: GlpMessage = serde_json::from_str(&json).unwrap();
assert_eq!(back.protocol, "GLP/1.0");
assert_eq!(back.sender.object_id, "AGE-0001");
assert_eq!(back.sender.object_id, "ICE-P-ZY001");
assert_eq!(back.receiver.routing_mode, RoutingMode::Direct);
assert_eq!(back.payload.content_type, ContentType::Command);
assert_eq!(back.context.hldp_anchor, "ZY-CHECKPOINT-20260815-014");