Merge pull request #9560 from backstage/freben/location-by-ref

Removed `CatalogApi.geLocationByEntity` and `CatalogApi.getOriginLocationByEntity`, and replaced them with `CatalogApi.getLocationByRef`.
This commit is contained in:
Fredrik Adelöw
2022-02-16 18:58:14 +01:00
committed by GitHub
30 changed files with 86 additions and 64 deletions
@@ -30,9 +30,8 @@ describe('<FossaPage />', () => {
addLocation: jest.fn(),
getEntities: jest.fn(),
getEntityByName: jest.fn(),
getLocationByEntity: jest.fn(),
getLocationByRef: jest.fn(),
getLocationById: jest.fn(),
getOriginLocationByEntity: jest.fn(),
removeEntityByUid: jest.fn(),
removeLocationById: jest.fn(),
refreshEntity: jest.fn(),