mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
Moved notifications to be read after yesterdailies (#8872)
* Moved notifications to be read after yesterdailies * Prevent when user needs cron * Updated tests
This commit is contained in:
committed by
Sabe Jones
parent
78ba596504
commit
f8571ec5d5
@@ -6,6 +6,7 @@ describe('Notification Controller', function() {
|
||||
beforeEach(function() {
|
||||
user = specHelper.newUser();
|
||||
user._id = "unique-user-id";
|
||||
user.needsCron = false;
|
||||
|
||||
var userSync = sinon.stub().returns({
|
||||
then: function then (f) { f(); }
|
||||
|
||||
Reference in New Issue
Block a user