Ensured integration tests pass for abc and bchn

This commit is contained in:
Chris Troutner
2021-05-09 21:23:32 -07:00
parent fd51f82dbc
commit 5c4f6802b3
+4
View File
@@ -1863,6 +1863,7 @@ describe('#SLP', () => {
})
}
if (process.env.ISBCHN) {
it('should get NFT children IDs in given NFT group', async () => {
if (process.env.TEST === 'unit') {
sandbox.stub(slpRoute, 'lookupToken').resolves(mockData.mockNftGroup)
@@ -1898,6 +1899,7 @@ describe('#SLP', () => {
'928ce61fe1006b1325a0ba0dce700bf83986a6f0691ba26e121c9ac035d12a55'
)
})
}
})
describe('#getNftGroup', () => {
@@ -2003,6 +2005,7 @@ describe('#SLP', () => {
})
}
if (process.env.ISBCHN) {
it('should get NFT group information for tokenId', async () => {
req.params.tokenId =
'45a30085691d6ea586e3ec2aa9122e9b0e0d6c3c1fd357decccc15d8efde48a9'
@@ -2026,6 +2029,7 @@ describe('#SLP', () => {
assert.property(result.nftGroup, 'symbol')
assert.property(result.nftGroup, 'initialTokenQty')
})
}
})
})