diff --git a/scripts/tests/common.lua b/scripts/tests/common.lua index 317380417..fa2fd9f35 100644 --- a/scripts/tests/common.lua +++ b/scripts/tests/common.lua @@ -1036,8 +1036,11 @@ function test_give_horses() r:set_resource("horse", 0) u:add_item("horse", 20) - u:add_order("GIB 0 10 PFERDE") + u:add_item("dolphin", 10) + u:add_order("GIB 0 10 PFERD") + u:add_order("GIB 0 5 DELPHIN") process_orders() assert_equal(10, r:get_resource("horse")) + assert_equal(5, u:get_item("dolphin")) assert_equal(10, u:get_item("horse")) end