removed unused argument in test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
bc9ab1a837
commit
ec6a3e00f7
|
@ -76,8 +76,8 @@ describe('claim', () => {
|
|||
controller.sale = {id: 1};
|
||||
jest.spyOn(controller.$.model, 'remove');
|
||||
jest.spyOn(controller.vnApp, 'showSuccess');
|
||||
$httpBackend.expectDELETE(`ClaimBeginnings/1`).respond({});
|
||||
controller.deleteClaimedSale('accept');
|
||||
$httpBackend.expectDELETE(`ClaimBeginnings/1`).respond('ok');
|
||||
controller.deleteClaimedSale();
|
||||
$httpBackend.flush();
|
||||
|
||||
expect(controller.vnApp.showSuccess).toHaveBeenCalledWith('Data saved!');
|
||||
|
|
Loading…
Reference in New Issue