|
@ -211,7 +211,7 @@ async fn test_player_buys_multiple_from_tool_shop() { |
|
|
|
|
|
|
|
|
let characters1 = entity_gateway.get_characters_by_user(&user1).await.unwrap();
|
|
|
let characters1 = entity_gateway.get_characters_by_user(&user1).await.unwrap();
|
|
|
let c1 = characters1.get(0).as_ref().unwrap().as_ref().unwrap();
|
|
|
let c1 = characters1.get(0).as_ref().unwrap().as_ref().unwrap();
|
|
|
assert!(c1.meseta < 999999);
|
|
|
|
|
|
|
|
|
assert_eq!(c1.meseta, 999749);
|
|
|
let p1_items = entity_gateway.get_character_inventory(&char1.id).await.unwrap();
|
|
|
let p1_items = entity_gateway.get_character_inventory(&char1.id).await.unwrap();
|
|
|
assert_eq!(p1_items.items.len(), 1);
|
|
|
assert_eq!(p1_items.items.len(), 1);
|
|
|
p1_items.items[0].with_stacked(|item| {
|
|
|
p1_items.items[0].with_stacked(|item| {
|
|
|