mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Using newUser helper in tests
This commit is contained in:
@@ -3,7 +3,7 @@ specHelper = {
|
||||
var buffs = {per:0, int:0, con:0, str:0, stealth: 0, streaks: false};
|
||||
user = {
|
||||
auth:{timestamps: {}},
|
||||
stats: {str:1, con:1, per:1, int:1, mp: 32, class: 'warrior', buffs: buffs},
|
||||
stats: {str:1, con:1, per:1, int:1, mp: 32, class: 'warrior', buffs: buffs, gp: 0},
|
||||
items:{
|
||||
lastDrop:{count: 0},
|
||||
hatchingPotions: {},
|
||||
@@ -22,6 +22,7 @@ specHelper = {
|
||||
todos: [],
|
||||
rewards: [],
|
||||
flags: {},
|
||||
filters: {},
|
||||
achievements: {},
|
||||
};
|
||||
return user;
|
||||
|
||||
Reference in New Issue
Block a user