From 6a31b432ded52f471a8e57f8e7207cc404fc5a36 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 1 Jan 2018 07:47:06 +0100 Subject: [PATCH] disable storms in tests --- scripts/tests/e2/ships.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/tests/e2/ships.lua b/scripts/tests/e2/ships.lua index 06fc78c09..3208f0a0d 100644 --- a/scripts/tests/e2/ships.lua +++ b/scripts/tests/e2/ships.lua @@ -8,6 +8,7 @@ function setup() eressea.settings.set("rules.ship.damage.nocrewocean", "0") eressea.settings.set("rules.ship.damage.nocrew", "0") eressea.settings.set("rules.ship.drifting", "0") + eressea.settings.set("rules.ship.storms", "0") end function test_ship_requires_skill() @@ -58,11 +59,6 @@ function test_speedy_ship_slow() u2:set_skill("sailing", 24) -- sumskill = 50 u1:add_order("NACH O O O O O O O O O O") process_orders() - if 5 ~= u1.region.x then - for _, msg in ipairs(f.messages) do - print(msg) - end - end assert_equal(5, u1.region.x) end