Update Dockerfile and SDK tests workflow #7
@ -40,7 +40,7 @@ const nameserviceExpiryTests = () => {
|
|||||||
privateKey,
|
privateKey,
|
||||||
fee
|
fee
|
||||||
);
|
);
|
||||||
console.log('SetRecordResult: ' + result.id);
|
expect(result.id).toBeDefined();
|
||||||
const [record] = await registry.queryRecords({ type: 'WebsiteRegistrationRecord', version: watcher.record.version }, true);
|
const [record] = await registry.queryRecords({ type: 'WebsiteRegistrationRecord', version: watcher.record.version }, true);
|
||||||
recordExpiryTime = new Date(record.expiryTime);
|
recordExpiryTime = new Date(record.expiryTime);
|
||||||
|
|
||||||
@ -77,10 +77,8 @@ const nameserviceExpiryTests = () => {
|
|||||||
authorityExpiryTime = updatedExpiryTime;
|
authorityExpiryTime = updatedExpiryTime;
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: Check bond balance not decreasing correctly
|
|
||||||
test('Check bond balance', async () => {
|
test('Check bond balance', async () => {
|
||||||
const [bond] = await registry.getBondsByIds([bondId]);
|
const [bond] = await registry.getBondsByIds([bondId]);
|
||||||
console.log(bond);
|
|
||||||
expect(bond).toBeDefined();
|
expect(bond).toBeDefined();
|
||||||
expect(bond.balance).toHaveLength(0);
|
expect(bond.balance).toHaveLength(0);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user