Update FetchInstanceMetadataService.ts

This commit is contained in:
syuilo 2024-10-12 16:11:56 +09:00
parent e1164cc75b
commit 5c807f2008
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}