Update FetchInstanceMetadataService.ts
This commit is contained in:
parent
e1164cc75b
commit
5c807f2008
|
@ -52,7 +52,7 @@ describe('FetchInstanceMetadataService', () => {
|
|||
if (token === HttpRequestService) {
|
||||
return { getJson: jest.fn(), getHtml: jest.fn(), send: jest.fn() };
|
||||
} else if (token === FederatedInstanceService) {
|
||||
return { fetch: jest.fn() };
|
||||
return { fetchOrRegister: jest.fn() };
|
||||
} else if (token === DI.redis) {
|
||||
return mockRedis;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue