Adjust tests to match changes

This commit is contained in:
Imbris 2023-06-03 17:32:25 -04:00
parent ea77a443a2
commit b96e7e1b26

View File

@ -440,12 +440,11 @@ mod tests {
.build(); .build();
{ {
use specs::saveload::MarkerAllocator;
let mut uids = mockworld.write_component::<Uid>(); let mut uids = mockworld.write_component::<Uid>();
let mut id_maps = mockworld.write_resource::<IdMaps>(); let mut id_maps = mockworld.write_resource::<IdMaps>();
uids.insert(player, id_maps.allocate(player, None)) uids.insert(player, id_maps.allocate(player))
.expect("inserting player uid failed"); .expect("inserting player uid failed");
uids.insert(merchant, id_maps.allocate(merchant, None)) uids.insert(merchant, id_maps.allocate(merchant))
.expect("inserting merchant uid failed"); .expect("inserting merchant uid failed");
} }