From 463d623f166ba36f7ca20bec11777ae603979a7f Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 16 Nov 2020 21:27:14 -0700 Subject: [PATCH] fix tests --- tests/test_item_pickup.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_item_pickup.rs b/tests/test_item_pickup.rs index 03d0a3a..4c40b05 100644 --- a/tests/test_item_pickup.rs +++ b/tests/test_item_pickup.rs @@ -218,7 +218,7 @@ async fn test_pick_up_meseta_when_inventory_full() { ship.handle(ClientId(1), &RecvShipPacket::DirectMessage(DirectMessage::new(0, GameMessage::PickupItem(PickupItem { client: 0, target: 0, - item_id: 0xF0000001, + item_id: 0x00810001, map_area: 0, unknown: [0; 3] })))).await.unwrap().for_each(drop); @@ -590,7 +590,7 @@ async fn test_can_not_pick_up_meseta_when_full() { let packets = ship.handle(ClientId(1), &RecvShipPacket::DirectMessage(DirectMessage::new(0, GameMessage::PickupItem(PickupItem { client: 0, target: 0, - item_id: 0xF0000001, + item_id: 0x00810001, map_area: 0, unknown: [0; 3] })))).await.unwrap().collect::>(); @@ -648,7 +648,7 @@ async fn test_meseta_caps_at_999999_when_trying_to_pick_up_more() { ship.handle(ClientId(1), &RecvShipPacket::DirectMessage(DirectMessage::new(0, GameMessage::PickupItem(PickupItem { client: 0, target: 0, - item_id: 0xF0000001, + item_id: 0x00810001, map_area: 0, unknown: [0; 3] })))).await.unwrap().for_each(drop); @@ -717,7 +717,7 @@ async fn test_player_drops_partial_stack_and_other_player_picks_it_up() { ship.handle(ClientId(2), &RecvShipPacket::DirectMessage(DirectMessage::new(0, GameMessage::PickupItem(PickupItem { client: 0, target: 0, - item_id: 0xF0000001, + item_id: 0x00810001, map_area: 0, unknown: [0; 3] })))).await.unwrap().for_each(drop);