mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/test/access/AccessControl.test.js

13 lines
385 B

const {
shouldBehaveLikeAccessControl,
} = require('./AccessControl.behavior.js');
const AccessControlMock = artifacts.require('AccessControlMock');
contract('AccessControl', function (accounts) {
beforeEach(async function () {
this.accessControl = await AccessControlMock.new({ from: accounts[0] });
});
shouldBehaveLikeAccessControl('AccessControl', ...accounts);
});