Skip to content

Commit

Permalink
fix(tests/vesting-cancel): fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeusgr committed Jun 14, 2023
1 parent 66a1029 commit 0e17dff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/vesting-cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ describe("a vesting contract: Cancel transaction", async () => {
// Lock ADA:
const adaQty = 10;
const duration = 1000000;
// --------------------maybe-program-?------v
await lockAda(network!, alice!, bob!, validatorHash, adaQty, duration)
await lockAda(network!, alice!, bob!, program, adaQty, duration)
expect((await alice.utxos)[0].value.dump().lovelace).toBe('50000000');
expect((await alice.utxos)[1].value.dump().lovelace).toBe('9755287');

Expand Down Expand Up @@ -145,8 +144,7 @@ describe("a vesting contract: Cancel transaction", async () => {

const adaQty = 10;
const duration = 1000000;
// --------------------maybe-program-?------v
await lockAda(network!, alice!, bob!, validatorHash, adaQty, duration);
await lockAda(network!, alice!, bob!, program, adaQty, duration);
expect((await alice.utxos)[0].value.dump().lovelace).toBe('50000000');
expect((await alice.utxos)[1].value.dump().lovelace).toBe('9755287');

Expand Down

0 comments on commit 0e17dff

Please sign in to comment.