From 7cc705ffcd637a27e58d2d4861512e4620398b6e Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Tue, 16 Feb 2021 17:08:59 -0600 Subject: [PATCH] fix(test): should hatch Desert pet to get Desert achievement --- test/common/ops/hatch.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/common/ops/hatch.js b/test/common/ops/hatch.js index 47b6db9975..dd351db76c 100644 --- a/test/common/ops/hatch.js +++ b/test/common/ops/hatch.js @@ -169,7 +169,6 @@ describe('shared.ops.hatch', () => { it('awards Back to Basics achievement', () => { user.items.pets = { - 'Wolf-Base': 5, 'TigerCub-Base': 5, 'PandaCub-Base': 10, 'LionCub-Base': 5, @@ -180,14 +179,13 @@ describe('shared.ops.hatch', () => { 'BearCub-Base': 5, }; user.items.eggs = { Wolf: 1 }; - user.items.hatchingPotions = { Spooky: 1 }; - hatch(user, { params: { egg: 'Wolf', hatchingPotion: 'Spooky' } }); + user.items.hatchingPotions = { Base: 1 }; + hatch(user, { params: { egg: 'Wolf', hatchingPotion: 'Base' } }); expect(user.achievements.backToBasics).to.eql(true); }); it('awards Dust Devil achievement', () => { user.items.pets = { - 'Wolf-Desert': 5, 'TigerCub-Desert': 5, 'PandaCub-Desert': 10, 'LionCub-Desert': 5, @@ -198,8 +196,8 @@ describe('shared.ops.hatch', () => { 'BearCub-Desert': 5, }; user.items.eggs = { Wolf: 1 }; - user.items.hatchingPotions = { Spooky: 1 }; - hatch(user, { params: { egg: 'Wolf', hatchingPotion: 'Spooky' } }); + user.items.hatchingPotions = { Desert: 1 }; + hatch(user, { params: { egg: 'Wolf', hatchingPotion: 'Desert' } }); expect(user.achievements.dustDevil).to.eql(true); });