Ensure pushStatus is properly running (#7213)

* Ensure pushStatus is properly running

* remove duplicate test
This commit is contained in:
Diamond Lewis
2021-02-20 15:17:15 -06:00
committed by GitHub
parent a649a9e600
commit f1394a93c2
3 changed files with 3 additions and 15 deletions

View File

@@ -314,6 +314,7 @@ describe('PushWorker', () => {
amount: 1,
},
count: { __op: 'Increment', amount: -1 },
status: 'running',
});
const query = new Parse.Query('_PushStatus');
return query.get(handler.objectId, { useMasterKey: true });
@@ -409,6 +410,7 @@ describe('PushWorker', () => {
amount: 1,
},
count: { __op: 'Increment', amount: -1 },
status: 'running',
});
done();
});