Skip to content

Commit

Permalink
Fixing deployment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpar committed Apr 8, 2024
1 parent 0e51937 commit b7ed600
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/test/Deployment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("Deployment", () => {
await loadFixture(fixture))
})

describe("Acre", () => {
describe("stBTC", () => {
describe("constructor", () => {
context("when treasury has been set", () => {
it("should be set to a treasury address", async () => {
Expand Down Expand Up @@ -72,12 +72,12 @@ describe("Deployment", () => {
})
})

describe("updateTbtcStorage", () => {
context("when a new stBTC address has been set", () => {
it("should be set to a new stBTC address by the deployment script", async () => {
const actualTbtcStorage = await mezoAllocator.tbtcStorage()
describe("updateWithdrawer", () => {
context("when a new withdrawer has been set", () => {
it("should be set to a new maintainer address", async () => {
const actualWithdrawer = await mezoAllocator.withdrawer()

expect(actualTbtcStorage).to.be.equal(await stbtc.getAddress())
expect(actualWithdrawer).to.be.equal(await stbtc.getAddress())
})
})
})
Expand Down

0 comments on commit b7ed600

Please sign in to comment.