mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Pass encodeBase64 param to transit-key-actions (#19429)
* fix and test coverage * changelog
This commit is contained in:
@@ -322,6 +322,8 @@ module('Integration | Component | transit key actions', function (hooks) {
|
||||
`);
|
||||
await fillIn('#algorithm', 'sha2-384');
|
||||
await blur('#algorithm');
|
||||
await fillIn('[data-test-component="code-mirror-modifier"] textarea', 'plaintext');
|
||||
await click('input[data-test-transit-input="encodedBase64"]');
|
||||
await click('button[type="submit"]');
|
||||
assert.deepEqual(
|
||||
this.storeService.callArgs,
|
||||
@@ -331,6 +333,7 @@ module('Integration | Component | transit key actions', function (hooks) {
|
||||
id: 'akey',
|
||||
payload: {
|
||||
algorithm: 'sha2-384',
|
||||
input: 'plaintext',
|
||||
},
|
||||
},
|
||||
'passes expected args to the adapter'
|
||||
|
||||
Reference in New Issue
Block a user