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.
19 lines
564 B
19 lines
564 B
const { accounts, contract } = require('@openzeppelin/test-environment');
|
|
|
|
require('@openzeppelin/test-helpers');
|
|
|
|
const ContextMock = contract.fromArtifact('ContextMock');
|
|
const ContextMockCaller = contract.fromArtifact('ContextMockCaller');
|
|
|
|
const { shouldBehaveLikeRegularContext } = require('./Context.behavior');
|
|
|
|
describe('Context', function () {
|
|
const [ sender ] = accounts;
|
|
|
|
beforeEach(async function () {
|
|
this.context = await ContextMock.new();
|
|
this.caller = await ContextMockCaller.new();
|
|
});
|
|
|
|
shouldBehaveLikeRegularContext(sender);
|
|
});
|
|
|