From 036e9dc5c692e42895b5950d45f7004632d9e612 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Fri, 20 Feb 2026 19:00:14 +0100 Subject: [PATCH] =?UTF-8?q?fix(tests):=20update=20NPC=20profile=20count=20?= =?UTF-8?q?assertions=20(20=E2=86=9223)=20for=20Sprint=2014=20content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three NPC profiles added by copy team content expansion. Updates content_loading test expectations to match actual content directory. Co-Authored-By: Claude Opus 4.6 --- server/tests/content_loading.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/tests/content_loading.rs b/server/tests/content_loading.rs index ae10abb4b..cec058f99 100644 --- a/server/tests/content_loading.rs +++ b/server/tests/content_loading.rs @@ -117,12 +117,12 @@ fn load_real_transit_district() { assert!(template_ids.contains(&"bar")); assert!(template_ids.contains(&"smuggling-ring")); - // 20 NPC profiles: 17 NPCs + 2 PC-as-NPC + 1 extended NPC (nils-davan) - // Populated by #398 (wiki→YAML NPC conversion) + // 23 NPC profiles: 17 NPCs + 2 PC-as-NPC + 1 extended NPC (nils-davan) + 3 Sprint 14 additions + // Populated by #398 (wiki→YAML NPC conversion) and Sprint 14 content expansion assert_eq!( transit.npc_profiles.len(), - 20, - "Expected 20 parseable NPC profiles (17 NPCs + 2 PCs + 1 extended)" + 23, + "Expected 23 parseable NPC profiles" ); } @@ -338,8 +338,8 @@ fn spawn_real_content_with_relationships_and_secrets() { let store = load_content(&root).expect("content loading should succeed"); let result = spawn_content(&mut world, &store); - // All 20 profiles should spawn - assert_eq!(result.npcs_spawned, 20); + // All 23 profiles should spawn + assert_eq!(result.npcs_spawned, 23); assert!(result.npc_ids.contains_key("npc:kael-davan")); assert!(result.npc_ids.contains_key("npc:voss")); assert!(result.npc_ids.contains_key("npc:pc-smuggler")); @@ -360,8 +360,8 @@ fn spawn_real_content_with_relationships_and_secrets() { npcs_with_want += 1; } assert_eq!( - npcs_with_want, 20, - "All 20 NPCs should have Want components" + npcs_with_want, 23, + "All 23 NPCs should have Want components" ); // Spot-check specific Want values