From b679d3984446e818ade0158453da60adde6e6690 Mon Sep 17 00:00:00 2001 From: Grzegorz Mrukwa Date: Wed, 7 Mar 2018 01:57:37 +0100 Subject: [PATCH] Fix PreparationService test It is accepting string IDs now. --- src/app/preparations/shared/preparation.service.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/preparations/shared/preparation.service.spec.ts b/src/app/preparations/shared/preparation.service.spec.ts index a054cdda..8fb248e5 100644 --- a/src/app/preparations/shared/preparation.service.spec.ts +++ b/src/app/preparations/shared/preparation.service.spec.ts @@ -78,7 +78,7 @@ describe('PreparationService', () => { preparationService .getAll() .subscribe((response) => { - expect(response[0].id).toEqual(1); + expect(response[0].id).toEqual('1'); expect(response[0].name).toEqual('Preparation 1'); }); }));