fix(test): restore event list function

This commit is contained in:
SabreCat
2022-09-30 14:32:21 -05:00
parent e0eed8238e
commit 40997854dd
+2 -1
View File
@@ -671,12 +671,13 @@ describe('payments/index', () => {
context('No Active Promotion', () => {
beforeEach(() => {
sinon.stub(worldState, 'getCurrentEventList').returns([]);
sinon.stub(worldState, 'getCurrentEvent').returns(null);
sinon.stub(worldState, 'getCurrentEventList').returns([]);
});
afterEach(() => {
worldState.getCurrentEvent.restore();
worldState.getCurrentEventList.restore();
});
it('does not apply a discount', async () => {