mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix freParams initialization error
This commit is contained in:
parent
7a6e8f42b5
commit
8f6de3632b
@ -56,6 +56,10 @@ describe('Datatoken', () => {
|
|||||||
user3 = accounts[3]
|
user3 = accounts[3]
|
||||||
|
|
||||||
NFT_DATA.owner = nftOwner
|
NFT_DATA.owner = nftOwner
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should deploy contracts', async () => {
|
||||||
|
contracts = await deployContracts(web3, nftOwner)
|
||||||
|
|
||||||
freParams = {
|
freParams = {
|
||||||
fixedRateAddress: contracts.fixedRateAddress,
|
fixedRateAddress: contracts.fixedRateAddress,
|
||||||
@ -69,10 +73,6 @@ describe('Datatoken', () => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should deploy contracts', async () => {
|
|
||||||
contracts = await deployContracts(web3, nftOwner)
|
|
||||||
})
|
|
||||||
|
|
||||||
it('should initialize NFTFactory, nftDT and DT instances and create a new NFT', async () => {
|
it('should initialize NFTFactory, nftDT and DT instances and create a new NFT', async () => {
|
||||||
nftFactory = new NftFactory(contracts.erc721FactoryAddress, web3)
|
nftFactory = new NftFactory(contracts.erc721FactoryAddress, web3)
|
||||||
nftDatatoken = new Nft(web3)
|
nftDatatoken = new Nft(web3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user