From 41689713b6c59b9d105c74c04ce7abbd169da8f7 Mon Sep 17 00:00:00 2001 From: eagle Date: Wed, 15 May 2024 21:43:53 +0530 Subject: [PATCH] test: update test --- src/indexer/allo/v2/handleEvent.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/indexer/allo/v2/handleEvent.test.ts b/src/indexer/allo/v2/handleEvent.test.ts index a3cc1e2f..7435e1ae 100644 --- a/src/indexer/allo/v2/handleEvent.test.ts +++ b/src/indexer/allo/v2/handleEvent.test.ts @@ -1097,7 +1097,9 @@ describe("handleEvent", () => { tags: [], }; - MOCK_DB.getApplicationById = vi.fn().mockResolvedValueOnce(application); + MOCK_DB.getApplicationByAnchorAddress = vi + .fn() + .mockResolvedValueOnce(application); MOCK_DB.getRoundByStrategyAddress = vi.fn().mockResolvedValueOnce(round);