mirror of https://codeberg.org/pzp/pzp-db.git
fix test for account powers validation
This commit is contained in:
parent
f8db4fb224
commit
d21c7ed697
|
@ -35,7 +35,7 @@ test('account.add()', async (t) => {
|
||||||
account,
|
account,
|
||||||
keypair: keypair2,
|
keypair: keypair2,
|
||||||
consent,
|
consent,
|
||||||
powers: ['box'],
|
powers: ['external-encryption'],
|
||||||
})
|
})
|
||||||
assert.ok(accountRec1, 'accountRec1 exists')
|
assert.ok(accountRec1, 'accountRec1 exists')
|
||||||
const { id, msg } = accountRec1
|
const { id, msg } = accountRec1
|
||||||
|
@ -50,7 +50,7 @@ test('account.add()', async (t) => {
|
||||||
bytes: keypair2.public,
|
bytes: keypair2.public,
|
||||||
},
|
},
|
||||||
consent,
|
consent,
|
||||||
powers: ['box'],
|
powers: ['external-encryption'],
|
||||||
},
|
},
|
||||||
'msg.data.add NEW KEY'
|
'msg.data.add NEW KEY'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue