settings: move ipv6/ipv4 config into network
this also rename sysinfo_config to ipv4_config
This commit is contained in:
@@ -110,6 +110,20 @@ describe('Network', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('IPv6 config', function () {
|
||||
it('can get default IPv6 setting', async function () {
|
||||
const config = await network.getIPv6Config();
|
||||
expect(config.provider).to.be('noop');
|
||||
});
|
||||
|
||||
it('can set IPv6 setting', async function () {
|
||||
await network.setIPv6Config({ provider: 'generic' });
|
||||
|
||||
const config = await network.getIPv6Config();
|
||||
expect(config.provider).to.be('generic');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Dynamic DNS', function () {
|
||||
it('can get default dyndns', async function () {
|
||||
expect(await network.getDynamicDns()).to.be(false);
|
||||
|
||||
Reference in New Issue
Block a user