mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix(pets): correct achievement logic
This commit is contained in:
@@ -25,7 +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(user.achievements.backToBasics).to.not.equal(true);
|
||||
|
||||
expect(res).to.eql({
|
||||
message: t('messageHatched'),
|
||||
|
||||
Reference in New Issue
Block a user