From 6639fbbbbba09815682218d52ebd8811de2c67fb Mon Sep 17 00:00:00 2001 From: TomBraun Date: Wed, 2 Jul 2014 15:17:09 +0200 Subject: [PATCH] Change test for bug 0001976 --- scripts/tests/eressea.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/tests/eressea.lua b/scripts/tests/eressea.lua index 92dd8ac3f..42a1e023b 100644 --- a/scripts/tests/eressea.lua +++ b/scripts/tests/eressea.lua @@ -347,13 +347,15 @@ function test_only_building_ownwer_can_set_not_paid() u2.building = mine u1:clear_orders() u2:clear_orders() - u2:add_order("Bezahle nicht") - process_orders() - assert_equal(0, u1:get_item("money")) - u2:clear_orders() - u1:add_item("money", 500) +-- Test that Bezahle nicht is working u1:add_order("Bezahle nicht") process_orders() assert_equal(500, u1:get_item("money")) + u1:clear_orders() +-- Test that bug fix 0001976 is working +-- Bezahle nicht is not working + u2:add_order("Bezahle nicht") + process_orders() + assert_equal(0, u1:get_item("money")) end