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.
18 lines
489 B
18 lines
489 B
5 years ago
|
require('@openzeppelin/test-helpers');
|
||
6 years ago
|
|
||
4 years ago
|
const ContextMock = artifacts.require('ContextMock');
|
||
|
const ContextMockCaller = artifacts.require('ContextMockCaller');
|
||
6 years ago
|
|
||
|
const { shouldBehaveLikeRegularContext } = require('./Context.behavior');
|
||
|
|
||
4 years ago
|
contract('Context', function (accounts) {
|
||
5 years ago
|
const [ sender ] = accounts;
|
||
|
|
||
6 years ago
|
beforeEach(async function () {
|
||
|
this.context = await ContextMock.new();
|
||
|
this.caller = await ContextMockCaller.new();
|
||
|
});
|
||
|
|
||
|
shouldBehaveLikeRegularContext(sender);
|
||
|
});
|