From 8a00cc3b965bf8c5e3b9dba524d1e27d3b4fd89a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 24 Feb 2018 18:58:50 +0100 Subject: [PATCH] foolpotion test is not intermittent if we disable study.random_progress --- scripts/tests/e2/items.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tests/e2/items.lua b/scripts/tests/e2/items.lua index 2a84fcd54..e444a9c73 100644 --- a/scripts/tests/e2/items.lua +++ b/scripts/tests/e2/items.lua @@ -9,6 +9,7 @@ function setup() eressea.settings.set("rules.ship.storms", "0") eressea.settings.set("rules.encounters", "0") eressea.settings.set("magic.regeneration.enable", "0") + eressea.settings.set("study.random_progress", "0") end function test_water_of_life() @@ -162,8 +163,7 @@ function test_use_foolpotion() turn_process() assert_equal(0, u:get_item('p7')) assert_equal(0, u2:effect('p7')) --- disabled, intermittent: --- assert_equal(0, u2:get_skill('crossbow')) + assert_equal(0, u2:get_skill('crossbow')) assert_equal(1, f:count_msg_type('givedumb')) turn_end() end