diff --git a/packages/node-core/src/indexer/fetch.service.ts b/packages/node-core/src/indexer/fetch.service.ts index 9734343bd6..82eefc5127 100644 --- a/packages/node-core/src/indexer/fetch.service.ts +++ b/packages/node-core/src/indexer/fetch.service.ts @@ -208,7 +208,7 @@ export abstract class BaseFetchService { storeServiceMock = { setBlockHeight: jest.fn(), getStore: jest.fn().mockReturnValue({}), - storeCache: mockStoreCache, + modelProvider: mockStoreCache, }; sandboxMock = { @@ -123,7 +123,7 @@ describe('TestRunner', () => { (testRunner as any).storeService = { getStore: () => storeMock, setBlockHeight: jest.fn(), - storeCache: mockStoreCache, + modelProvider: mockStoreCache, } as any; await testRunner.runTest(testMock, sandboxMock, indexBlock); @@ -180,7 +180,7 @@ describe('TestRunner', () => { (testRunner as any).storeService = { getStore: () => storeMock, setBlockHeight: jest.fn(), - storeCache: mockStoreCache, + modelProvider: mockStoreCache, } as any; await testRunner.runTest(testMock, sandboxMock, indexBlock);