From 3bd12492b077d4badedcbe41ba6b4f553fdaf5de Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Mon, 17 Jun 2019 08:16:25 +0200 Subject: [PATCH] updated karma unit test --- modules/client/front/billing-data/index.spec.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/client/front/billing-data/index.spec.js b/modules/client/front/billing-data/index.spec.js index 7ce5440df..de4c6acc2 100644 --- a/modules/client/front/billing-data/index.spec.js +++ b/modules/client/front/billing-data/index.spec.js @@ -71,18 +71,6 @@ describe('Client', () => { expect(vnApp.showError).toHaveBeenCalledWith(`Swift / BIC can't be empty`); }); - it(`should throw an error if id property is empty`, () => { - controller.newBankEntity = { - name: 'My new bank entity', - bic: 'ES123', - countryFk: 1, - id: null - }; - controller.onBankEntityResponse('ACCEPT'); - - expect(vnApp.showError).toHaveBeenCalledWith(`Code can't be empty`); - }); - it('should request to create a new bank entity', () => { let newBankEntity = { name: 'My new bank entity',