fix(tests): update NPC profile count assertions (20→23) for Sprint 14 content
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user