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
|
||||
|
||||
function setup()
|
||||
conf = [[{
|
||||
"races": {
|
||||
"human" : {}
|
||||
}
|
||||
}]]
|
||||
eressea.config.reset()
|
||||
assert(eressea.config.parse(conf)==0)
|
||||
f = faction.create("faction@eressea.de", "human", "de")
|
||||
assert(f~=nil)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue