1
0
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:
Matthias Kretschmann 2020-09-03 11:40:04 +02:00
parent f834be3520
commit a3a772c92e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -45,7 +45,12 @@ describe('DataTokens', () => {
})
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)
})