Skip to content

Commit

Permalink
change unit test
Browse files Browse the repository at this point in the history
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
  • Loading branch information
svetoslav-nikol0v committed Jan 11, 2024
1 parent 7708b44 commit 1e58a4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/TokenUpdateIntegrationTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe("TokenUpdate", function () {
.setKycKey(key1)
.setFreezeKey(key2)
.setWipeKey(key3)
.setPauseKey(key5)
.setSupplyKey(key4)
.setFreezeDefault(false)
.execute(env.client);
Expand All @@ -66,7 +65,6 @@ describe("TokenUpdate", function () {
expect(info.freezeKey.toString()).to.eql(key2.publicKey.toString());
expect(info.wipeKey.toString()).to.eql(key3.publicKey.toString());
expect(info.supplyKey.toString()).to.eql(key4.publicKey.toString());
expect(info.pauseKey.toString()).to.eql(key5.pauseKey.toString());
expect(info.defaultFreezeStatus).to.be.false;
expect(info.defaultKycStatus).to.be.false;
expect(info.isDeleted).to.be.false;
Expand All @@ -82,6 +80,7 @@ describe("TokenUpdate", function () {
await new TokenUpdateTransaction()
.setTokenId(token)
.setTokenName("aaaa")
.setPauseKey(key5)
.setTokenSymbol("A")
.execute(env.client)
).getReceipt(env.client);
Expand All @@ -101,6 +100,7 @@ describe("TokenUpdate", function () {
expect(info.freezeKey.toString()).to.eql(key2.publicKey.toString());
expect(info.wipeKey.toString()).to.eql(key3.publicKey.toString());
expect(info.supplyKey.toString()).to.eql(key4.publicKey.toString());
expect(info.pauseKey.toString()).to.eql(key5.pauseKey.toString());
expect(info.defaultFreezeStatus).to.be.false;
expect(info.defaultKycStatus).to.be.false;
expect(info.isDeleted).to.be.false;
Expand Down

0 comments on commit 1e58a4f

Please sign in to comment.