mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Adjust tests to match changes
This commit is contained in:
parent
ea77a443a2
commit
b96e7e1b26
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user