forked from github/server
fix broken tests (they were fixed in master, but not in develop?)
This commit is contained in:
parent
bd11de5a96
commit
677f0903cb
|
@ -5,6 +5,13 @@ module ('tests.eressea.faction', package.seeall, lunit.testcase)
|
||||||
local f
|
local f
|
||||||
|
|
||||||
function setup()
|
function setup()
|
||||||
|
conf = [[{
|
||||||
|
"races": {
|
||||||
|
"human" : {}
|
||||||
|
}
|
||||||
|
}]]
|
||||||
|
eressea.config.reset()
|
||||||
|
assert(eressea.config.parse(conf)==0)
|
||||||
f = faction.create("faction@eressea.de", "human", "de")
|
f = faction.create("faction@eressea.de", "human", "de")
|
||||||
assert(f~=nil)
|
assert(f~=nil)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue