Skip to content

Commit

Permalink
Add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
vrde committed Nov 3, 2023
1 parent 62378f0 commit 2bc976d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/Integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,11 @@ describe("Integration", async () => {
"Resolution: account cannot vote"
);

// user3 cannot offer tokens
await expect(internalMarket.connect(user3).makeOffer(10)).revertedWith(
"InternalMarket: only contributors can make offers"
);

// ... and finally the world is saved.
expect(await resolutionManager.getResolutionResult(resolutionId)).to.be
.true;
Expand Down

0 comments on commit 2bc976d

Please sign in to comment.