From e85c346f45c38d70b6b9780c088565e9779b8b1d Mon Sep 17 00:00:00 2001 From: Gerard Date: Mon, 18 Feb 2019 14:46:25 +0100 Subject: [PATCH] #1102 scope en el modelo company --- e2e/paths/client-module/15_user_config.spec.js | 4 ++-- services/db/install/dump/fixtures.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/paths/client-module/15_user_config.spec.js b/e2e/paths/client-module/15_user_config.spec.js index 1899c01b8..d47e4a447 100644 --- a/e2e/paths/client-module/15_user_config.spec.js +++ b/e2e/paths/client-module/15_user_config.spec.js @@ -31,7 +31,7 @@ describe('User config', () => { expect(userLocalBank).toEqual(''); expect(userLocalCompany).toEqual(''); expect(userWarehouse).toEqual('Warehouse Three'); - expect(userCompany).toEqual('FTH'); + expect(userCompany).toEqual('VNH'); }); }); @@ -103,7 +103,7 @@ describe('User config', () => { expect(userLocalBank).toContain('Pay on receipt'); expect(userLocalCompany).toContain('VNL'); expect(userWarehouse).toEqual('Warehouse Three'); - expect(userCompany).toEqual('FTH'); + expect(userCompany).toEqual('VNH'); }); it('should now clear the local settings', async() => { diff --git a/services/db/install/dump/fixtures.sql b/services/db/install/dump/fixtures.sql index d0ca86a36..6cec76e65 100644 --- a/services/db/install/dump/fixtures.sql +++ b/services/db/install/dump/fixtures.sql @@ -1055,7 +1055,7 @@ INSERT INTO `vn`.`userConfig` (`userFk`, `warehouseFk`, `companyFk`) (1, 2, 69), (5, 1, 442), (9, 1, 442), - (18, 3, 791); + (18, 3, 567); INSERT INTO `vn`.`receipt`(`id`, `invoiceFk`, `amountPaid`, `amountUnpaid`, `payed`, `workerFk`, `bankFk`, `clientFk`, `created`, `companyFk`, `isConciliate`) VALUES