From 78f470411377c48ac4b73b26673d3b59a7eeb711 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 21 Jun 2021 00:26:52 +0000 Subject: [PATCH] fix test. dont let shop give away free items --- tests/test_shops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_shops.rs b/tests/test_shops.rs index ade8ccf..1838414 100644 --- a/tests/test_shops.rs +++ b/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| {