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:
Keith Holliday
2017-07-16 10:24:09 -06:00
committed by Sabe Jones
parent 78ba596504
commit f8571ec5d5
2 changed files with 8 additions and 4 deletions

View File

@@ -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(); }