mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
fix(tests): Define contrib level for test user
Undefined "level" variable was causing algos unit test to fail on pull #155
This commit is contained in:
parent
9211558beb
commit
2d43314b83
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ newUser = (addTasks=true)->
|
|||
rewards: []
|
||||
flags: {}
|
||||
achievements: {}
|
||||
contributor:
|
||||
level: 2
|
||||
|
||||
shared.wrap(user)
|
||||
user.ops.reset(null, ->)
|
||||
|
|
|
|||
Loading…
Reference in a new issue