mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 12:18:51 +00:00
fix(schema): add missing notif types
This commit is contained in:
parent
1d7ec89b47
commit
2b8e25833d
2 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ describe('POST /user/hatch/:egg/:hatchingPotion', () => {
|
|||
expect(user.items.pets['Wolf-Base']).to.equal(5);
|
||||
expect(user.items.eggs.Wolf).to.equal(0);
|
||||
expect(user.items.hatchingPotions.Base).to.equal(0);
|
||||
expect(user.achievements.aridAuthority).to.not.equal(true);
|
||||
|
||||
expect(res).to.eql({
|
||||
message: t('messageHatched'),
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ const NOTIFICATION_TYPES = [
|
|||
'ACHIEVEMENT_BEAST_MASTER',
|
||||
'ACHIEVEMENT_MOUNT_MASTER',
|
||||
'ACHIEVEMENT_TRIAD_BINGO',
|
||||
'ACHIEVEMENT_MONSTER_MAGUS',
|
||||
'ACHIEVEMENT_UNDEAD_UNDERTAKER',
|
||||
];
|
||||
|
||||
const { Schema } = mongoose;
|
||||
|
|
|
|||
Loading…
Reference in a new issue