Skip to content

Commit 7a085aa

Browse files
committed
Updates user to be owner for setting interaction delay
1 parent cabc5f3 commit 7a085aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/behaviors/short.behavior.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function itCanShort({ ctx }) {
2121
before('target contracts and users', () => {
2222
({ CollateralShort, SynthsUSD, CollateralStateShort } = ctx.contracts);
2323

24-
user = ctx.users.someUser;
24+
user = ctx.users.owner;
2525
});
2626

2727
before('ensure user should have sUSD', async () => {
@@ -62,7 +62,7 @@ function itCanShort({ ctx }) {
6262
let interactionDelay;
6363

6464
before('skip waiting period by setting interaction delay to zero', async () => {
65-
CollateralShort = CollateralShort.connect(ctx.users.owner);
65+
CollateralShort = CollateralShort.connect(user);
6666
interactionDelay = await CollateralShort.interactionDelay();
6767

6868
await CollateralShort.setInteractionDelay('0');

0 commit comments

Comments
 (0)