forked from github/server
fix the morale test, needs to update_owners() first.
This commit is contained in:
parent
b95f663087
commit
c08fba8308
1 changed files with 55 additions and 53 deletions
|
@ -99,6 +99,8 @@ function test_morale_change()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- reinhardt-regel: nach 2*AVG_STEP ist moral mindestens einmal gestiegen.
|
-- reinhardt-regel: nach 2*AVG_STEP ist moral mindestens einmal gestiegen.
|
||||||
|
update_owners()
|
||||||
|
assert_not_equal(r.owner, nil)
|
||||||
for i=1,AVG_STEP*2 do
|
for i=1,AVG_STEP*2 do
|
||||||
run_a_turn()
|
run_a_turn()
|
||||||
assert_not_equal(r.owner, nil)
|
assert_not_equal(r.owner, nil)
|
||||||
|
|
Loading…
Reference in a new issue