mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(schema): add missing notif types
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user