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,
|
||||
keypair: keypair2,
|
||||
consent,
|
||||
powers: ['box'],
|
||||
powers: ['external-encryption'],
|
||||
})
|
||||
assert.ok(accountRec1, 'accountRec1 exists')
|
||||
const { id, msg } = accountRec1
|
||||
|
@ -50,7 +50,7 @@ test('account.add()', async (t) => {
|
|||
bytes: keypair2.public,
|
||||
},
|
||||
consent,
|
||||
powers: ['box'],
|
||||
powers: ['external-encryption'],
|
||||
},
|
||||
'msg.data.add NEW KEY'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue