mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(pets): correct achievement logic
This commit is contained in:
@@ -72,6 +72,7 @@ describe('POST /user/feed/:pet/:food', () => {
|
||||
|
||||
const body = server.getWebhookData(uuid);
|
||||
|
||||
expect(user.achievements.allYourBase).to.not.equal(true);
|
||||
expect(body.type).to.eql('mountRaised');
|
||||
expect(body.pet).to.eql('Wolf-Base');
|
||||
expect(body.message).to.eql(res.message);
|
||||
|
||||
Reference in New Issue
Block a user