updated clientBillingData email test #1001
This commit is contained in:
parent
7893c784aa
commit
8d2f56a547
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue