Fixed issue with DataService's delete method that used wrong uuid to make the request

This commit is contained in:
Giuseppe Digilio
2020-02-27 11:15:31 +01:00
parent a6f1a6d1ec
commit 500f5c645f
11 changed files with 34 additions and 27 deletions

View File

@@ -125,7 +125,7 @@ describe('DeleteComColPageComponent', () => {
it('should call delete on the data service', () => {
comp.onConfirm(data1);
fixture.detectChanges();
expect(dsoDataService.delete).toHaveBeenCalledWith(data1);
expect(dsoDataService.delete).toHaveBeenCalledWith(data1.id);
});
});