Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdossa committed Jun 14, 2019
1 parent 1267f9e commit 16a0e9d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/o_security_token.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,15 +526,6 @@ contract("SecurityToken", async (accounts) => {
assert.equal(tx.logs[0].args._types[0], transferManagerKey);
assert.equal(tx.logs[0].args._module, I_GeneralTransferManager.address);

await I_SecurityToken.issue(account_investor1, new BN(web3.utils.toWei("500")), "0x0", { from: token_owner });
let _canTransfer = await I_SecurityToken.canTransfer.call(account_investor2, new BN(web3.utils.toWei("200")), "0x0", {from: account_investor1});

assert.equal(_canTransfer[0], 0x51);
assert.equal(_canTransfer[1], empty_hash);

await I_SecurityToken.transfer(account_investor2, new BN(web3.utils.toWei("200")), { from: account_investor1 });

assert.equal((await I_SecurityToken.balanceOf(account_investor2)).div(new BN(10).pow(new BN(18))).toNumber(), 200);
await revertToSnapshot(key);
});

Expand Down

0 comments on commit 16a0e9d

Please sign in to comment.