Blocking a user makes them sleep Fixes #7935

Blocking a user will make the user rest at an inn, the user will
remain resting when unblocked
This commit is contained in:
Thomas Gamble
2016-08-27 09:44:26 -04:00
parent 9981f450c0
commit af088d4b3a
2 changed files with 5 additions and 1 deletions
@@ -68,6 +68,7 @@ describe('PUT /heroes/:heroId', () => {
expect(hero.contributor.level).to.equal(1);
expect(hero.purchased.ads).to.equal(true);
expect(hero.auth.blocked).to.equal(true);
expect(hero.preferences.sleep).to.equal(true);
expect(hero.notifications.length).to.equal(1);
expect(hero.notifications[0].type).to.equal('NEW_CONTRIBUTOR_LEVEL');
});