mirror of
https://github.com/status-im/keycard-redeem.git
synced 2025-01-13 21:54:39 +00:00
remove duplicated test
This commit is contained in:
parent
b4e923c0a3
commit
16579768d3
@ -156,22 +156,6 @@ contract("GiftBucket", function () {
|
||||
});
|
||||
});
|
||||
|
||||
it("deploy bucket via factory", async () => {
|
||||
const create = GiftBucketFactory.methods.create(TestToken._address, START_TIME, EXPIRATION_TIME);
|
||||
const gas = await create.estimateGas();
|
||||
const receipt = await create.send({
|
||||
from: shop,
|
||||
gas: gas,
|
||||
});
|
||||
|
||||
const bucketAddress = receipt.events.BucketCreated.returnValues.bucket;
|
||||
const jsonInterface = _GiftBucket.options.jsonInterface;
|
||||
GiftBucket = new EmbarkJS.Blockchain.Contract({
|
||||
abi: jsonInterface,
|
||||
address: bucketAddress,
|
||||
});
|
||||
});
|
||||
|
||||
it("shop buys 100 tokens", async function () {
|
||||
let supply = await TestToken.methods.totalSupply().call();
|
||||
assert.equal(parseInt(supply), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user