正式登记桔子与熹微并激活双主控
This commit is contained in:
parent
cad45afe02
commit
5067e4f88e
12 changed files with 150 additions and 25 deletions
18
routing/juzi-human-world-node-registration.test.js
Normal file
18
routing/juzi-human-world-node-registration.test.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const value = JSON.parse(fs.readFileSync(path.join(__dirname, 'juzi-human-world-node-registration.json'), 'utf8'));
|
||||
assert.equal(value.state, 'CURRENT_ACTIVE_ENTERPRISE_SIGNED');
|
||||
assert.equal(value.human.id, 'TCS-GL-0008∞');
|
||||
assert.equal(value.persona.id, 'PER-JZ-ARCH-001');
|
||||
assert.equal(value.node.node_id, 'GH-HUMAN-NODE-12C7C83B91C4CDA164E6E940A5ECB989');
|
||||
assert.equal(value.node.member_server_node_id, 'JZ-SV-001');
|
||||
assert.equal(value.authority.enterprise_public_repository_write_granted, true);
|
||||
assert.equal(value.authority.repository_count, 8);
|
||||
assert.equal(value.authority.server_root_granted, false);
|
||||
assert.equal(value.authority.fifth_domain_access_granted, false);
|
||||
assert.equal(value.private_content_included, false);
|
||||
console.log('juzi human world node registration: ok');
|
||||
Loading…
Reference in a new issue