mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
fix(test): return empty event list for no promo
This commit is contained in:
parent
e74a3f84f5
commit
60ea8e48a8
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ describe('payments/index', () => {
|
|||
|
||||
context('No Active Promotion', () => {
|
||||
beforeEach(() => {
|
||||
sinon.stub(worldState, 'getCurrentEvent').returns(null);
|
||||
sinon.stub(worldState, 'getCurrentEventList').returns([]);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue