From 326f69d326677980d166f020827da9b182541a2b Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Thu, 15 Oct 2026 17:53:12 +0200 Subject: [PATCH] lan_bot: the status's protocol is the generated constant Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/tests/lan_bot.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/horizon-client/tests/lan_bot.rs b/crates/horizon-client/tests/lan_bot.rs index 7c19db589..79d411386 100644 --- a/crates/horizon-client/tests/lan_bot.rs +++ b/crates/horizon-client/tests/lan_bot.rs @@ -307,7 +307,10 @@ fn status_and_join() { Ok(r.json) }); let v: serde_json::Value = serde_json::from_str(&json).unwrap(); - assert_eq!(v["version"]["protocol"], 777); + assert_eq!( + v["version"]["protocol"], + horizon_core::version::PROTOCOL_VERSION + ); // ServerStatus.CODEC writes a plain literal MOTD as a bare string. assert_eq!(v["description"], "Test - World");