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

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Ermolin committed Mar 24, 2021
1 parent 739b55c commit b7a7c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/units/staking/ValidatorShare.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ contract('ValidatorShare', async function() {
})

it('must emit DelegatorUnstakeWithId', async function() {
await expectEvent.inTransaction(this.receipt.tx, StakingInfo, 'DelegatorUnstakeWithId', {
await expectEvent.inTransaction(this.receipt.tx, EventsHub, 'DelegatorUnstakeWithId', {
validatorId: this.validatorId,
user: this.user,
amount: this.claimAmount,
Expand All @@ -1801,7 +1801,7 @@ contract('ValidatorShare', async function() {
})

it('must emit DelegatorUnstakeWithId', async function() {
await expectEvent.inTransaction(this.receipt.tx, StakingInfo, 'DelegatorUnstakeWithId', {
await expectEvent.inTransaction(this.receipt.tx, EventsHub, 'DelegatorUnstakeWithId', {
validatorId: this.validatorId,
user: this.user,
amount: this.claimAmount,
Expand Down

0 comments on commit b7a7c91

Please sign in to comment.