diff --git a/modules/client/front/billing-data/index.spec.js b/modules/client/front/billing-data/index.spec.js index d589b4dff..1463d031d 100644 --- a/modules/client/front/billing-data/index.spec.js +++ b/modules/client/front/billing-data/index.spec.js @@ -30,11 +30,12 @@ describe('Client', () => { expect(controller.notifyChanges).toHaveBeenCalledWith(); }); }); - // Excluded due mailer changes #1001 - xdescribe('notifyChanges()', () => { + + describe('notifyChanges()', () => { it(`should perform a GET query`, () => { - $httpBackend.when('GET', `/mailer/notification/payment-update/101`).respond(true); - $httpBackend.expect('GET', `/mailer/notification/payment-update/101`); + let params = {clientFk: 101}; + $httpBackend.when('POST', `/api/email/payment-update`, params).respond(true); + $httpBackend.expect('POST', `/api/email/payment-update`, params); controller.notifyChanges(); $httpBackend.flush(); });