Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
solimander committed Sep 30, 2023
1 parent 91c8032 commit 06b2820
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nouns-subgraph/tests/nouns-dao.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {
afterAll,
beforeEach,
afterEach,
createMockedFunction,
newMockEvent,
} from 'matchstick-as/assembly/index';
import { Address, BigInt, Bytes, ethereum } from '@graphprotocol/graph-ts';
import { EscrowDeposit, EscrowedNoun, Proposal, ProposalVersion } from '../src/types/schema';
Expand Down Expand Up @@ -88,6 +90,8 @@ describe('nouns-dao', () => {
delegate.delegatedVotes = BIGINT_ONE;
delegate.delegatedVotesRaw = BIGINT_ONE;
delegate.save();

createMockedFunction(newMockEvent().address, 'adjustedTotalSupply', 'adjustedTotalSupply():(uint256)').returns([ethereum.Value.fromI32(0)])
});

afterAll(() => {
Expand Down

0 comments on commit 06b2820

Please sign in to comment.