Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit b7a7c91

Browse files
author
Denis Ermolin
committed
fix: test
1 parent 739b55c commit b7a7c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/units/staking/ValidatorShare.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ contract('ValidatorShare', async function() {
17861786
})
17871787

17881788
it('must emit DelegatorUnstakeWithId', async function() {
1789-
await expectEvent.inTransaction(this.receipt.tx, StakingInfo, 'DelegatorUnstakeWithId', {
1789+
await expectEvent.inTransaction(this.receipt.tx, EventsHub, 'DelegatorUnstakeWithId', {
17901790
validatorId: this.validatorId,
17911791
user: this.user,
17921792
amount: this.claimAmount,
@@ -1801,7 +1801,7 @@ contract('ValidatorShare', async function() {
18011801
})
18021802

18031803
it('must emit DelegatorUnstakeWithId', async function() {
1804-
await expectEvent.inTransaction(this.receipt.tx, StakingInfo, 'DelegatorUnstakeWithId', {
1804+
await expectEvent.inTransaction(this.receipt.tx, EventsHub, 'DelegatorUnstakeWithId', {
18051805
validatorId: this.validatorId,
18061806
user: this.user,
18071807
amount: this.claimAmount,

0 commit comments

Comments
 (0)