mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
update tests
This commit is contained in:
parent
f834be3520
commit
a3a772c92e
@ -45,7 +45,12 @@ describe('DataTokens', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should create datatokens smart contract', async () => {
|
it('should create datatokens smart contract', async () => {
|
||||||
tokenAddress = await datatoken.create(blob, 'AliceDT', 'DTA', '10000000000', minter)
|
tokenAddress = await datatoken.create(blob, minter, '10000000000', 'AliceDT', 'DTA')
|
||||||
|
assert(tokenAddress !== null)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should create datatokens with fallback cap, name & symbol', async () => {
|
||||||
|
tokenAddress = await datatoken.create(blob, minter)
|
||||||
assert(tokenAddress !== null)
|
assert(tokenAddress !== null)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user