Add test for setting deployer address
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Râu Cao 2022-08-23 12:20:42 +01:00
parent de1574155c
commit 90172071fa
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -28,6 +28,11 @@ describe("Contribution contract", async function () {
it("sets the data migration flag", async function () {
expect(await Contribution.migrationDone()).to.equal(false);
});
it("sets the deployer address", async function () {
expect(await Contribution.deployer()).to.equal(owner.address);
expect(await Contribution.deployer()).to.not.equal(addr1.address);
});
});
describe("Data migration", function () {