From ec6a3e00f75f21ead47990b33ddd836f286b9a64 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Tue, 23 Jun 2020 13:26:21 +0200 Subject: [PATCH] removed unused argument in test --- modules/claim/front/detail/index.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/claim/front/detail/index.spec.js b/modules/claim/front/detail/index.spec.js index 520f40f39..5061eaff7 100644 --- a/modules/claim/front/detail/index.spec.js +++ b/modules/claim/front/detail/index.spec.js @@ -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!');