* Remove Ownable.isOwner. * Remove ownable behavior from tests * Make Escrow use Ownable instead of Secondary * Migrate GSNRecipientERC20Fee to Ownable * Remove Secondary * Move Ownable to access directory * Remove mentions of Secondary * Add changelog entry * Move Ownable tests to access * Remove unused mock
17 lines
456 B
JavaScript
17 lines
456 B
JavaScript
const { accounts, contract } = require('@openzeppelin/test-environment');
|
|
|
|
require('@openzeppelin/test-helpers');
|
|
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
|
|
|
|
const Escrow = contract.fromArtifact('Escrow');
|
|
|
|
describe('Escrow', function () {
|
|
const [ owner, ...otherAccounts ] = accounts;
|
|
|
|
beforeEach(async function () {
|
|
this.escrow = await Escrow.new({ from: owner });
|
|
});
|
|
|
|
shouldBehaveLikeEscrow(owner, otherAccounts);
|
|
});
|