Browse Source

fix test. dont let shop give away free items

pull/47/head
andy 3 years ago
parent
commit
78f4704113
  1. 2
      tests/test_shops.rs

2
tests/test_shops.rs

@ -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 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();
assert_eq!(p1_items.items.len(), 1);
p1_items.items[0].with_stacked(|item| {

Loading…
Cancel
Save