diff --git a/scripts/tests/e2/production.lua b/scripts/tests/e2/production.lua index e166565a9..96aa7529c 100644 --- a/scripts/tests/e2/production.lua +++ b/scripts/tests/e2/production.lua @@ -12,7 +12,7 @@ local function create_faction(race) return faction.create(race, race .. '@example.com', "de") end -function disable_test_greatbow_needs_elf() +function test_greatbow_needs_elf() -- only elves can build a greatbow local r = region.create(0, 0, 'mountain') local f = create_faction('human') @@ -23,7 +23,7 @@ function disable_test_greatbow_needs_elf() u:add_item('mallorn', 2) u:add_order("MACHE Elfenbogen") turn_process() -- humans cannot do it - assert_equal(1, f:count_msg_type("error_cannotmake")) + assert_equal(1, f:count_msg_type("error118")) assert_equal(0, u:get_item('greatbow')) assert_equal(2, u:get_item('mallorn'))