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.
16 lines
511 B
16 lines
511 B
4 years ago
|
const {
|
||
|
shouldBehaveLikeAccessControl,
|
||
|
shouldBehaveLikeAccessControlEnumerable,
|
||
|
} = require('./AccessControl.behavior.js');
|
||
|
|
||
|
const AccessControlMock = artifacts.require('AccessControlEnumerableMock');
|
||
|
|
||
|
contract('AccessControl', function (accounts) {
|
||
|
beforeEach(async function () {
|
||
|
this.accessControl = await AccessControlMock.new({ from: accounts[0] });
|
||
|
});
|
||
|
|
||
|
shouldBehaveLikeAccessControl('AccessControl', ...accounts);
|
||
|
shouldBehaveLikeAccessControlEnumerable('AccessControl', ...accounts);
|
||
|
});
|