forked from github/server
parent
b321918cd1
commit
02374cd492
1 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,7 @@ module("tests.e2.movement", package.seeall, lunit.testcase)
|
||||||
|
|
||||||
function setup()
|
function setup()
|
||||||
eressea.free_game()
|
eressea.free_game()
|
||||||
|
eressea.settings.set("rules.food.flags", "4")
|
||||||
eressea.settings.set("nmr.timeout", "0")
|
eressea.settings.set("nmr.timeout", "0")
|
||||||
eressea.settings.set("NewbieImmunity", "0")
|
eressea.settings.set("NewbieImmunity", "0")
|
||||||
end
|
end
|
||||||
|
@ -29,7 +30,9 @@ end
|
||||||
|
|
||||||
process_orders()
|
process_orders()
|
||||||
|
|
||||||
-- write_reports()
|
if r2~=u1.region then
|
||||||
|
write_reports()
|
||||||
|
end
|
||||||
assert_equal(r2, u1.region) -- should pass, but fails!!!
|
assert_equal(r2, u1.region) -- should pass, but fails!!!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue