Add device identity tooltips and MAC validation
This commit is contained in:
@@ -46,6 +46,7 @@ test('all unknown inventory results pass one identity-preserving runtime parser'
|
||||
id: 'dev_0123456789abcdef',
|
||||
alias: null,
|
||||
hostname: null,
|
||||
mac: '00:11:22:33:44:55',
|
||||
ip: null,
|
||||
lastSeenAt: null,
|
||||
status: 'online',
|
||||
@@ -96,6 +97,7 @@ test('all unknown inventory results pass one identity-preserving runtime parser'
|
||||
{ ...valid, traffic: undefined },
|
||||
{ ...valid, source: undefined },
|
||||
{ ...valid, devices: [{ ...valid.devices[0], id: 'not-a-device' }] },
|
||||
{ ...valid, devices: [{ ...valid.devices[0], mac: 'not-a-mac' }] },
|
||||
{ ...valid, devices: [{ ...valid.devices[0], downloadBytes: 'not-bytes' }] },
|
||||
{ ...valid, devices: [{ ...valid.devices[0], uploadBytes: '-1' }] },
|
||||
{ ...valid, devices: [{ ...valid.devices[0], proxyUploadBytes: 1 }] },
|
||||
|
||||
Reference in New Issue
Block a user