forked from github/server
still having problems with GiveRestriction
This commit is contained in:
parent
34b1ead0ac
commit
9780ec845f
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
ROOT=$(pwd)
|
||||
while [ ! -d $ROOT/.git ]; do
|
||||
ROOT=$(dirname $ROOT)
|
||||
|
|
|
@ -61,6 +61,7 @@ end
|
|||
|
||||
function test_give_divisor()
|
||||
eressea.settings.set("rules.items.give_divisor", 2)
|
||||
eressea.settings.set("GiveRestriction", 0)
|
||||
local r = region.create(1, 1, "plain")
|
||||
local f1 = faction.create("test@example.com", "human", "de")
|
||||
local f2 = faction.create("test@example.com", "human", "de")
|
||||
|
|
Loading…
Reference in New Issue