Skip to content

Commit d8820e1

Browse files
committed
fix params for create_key in tests so that public_key/signing mocks will match
1 parent 76999f9 commit d8820e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/requests/kms/key_tests.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
tests('success') do
55
tests('#create_key').data_matches_schema(AWS::KMS::Formats::DESCRIBE_KEY) do
6-
result = Fog::AWS[:kms].create_key.body
6+
result = Fog::AWS[:kms].create_key(
7+
'KeySpec' => 'RSA_2048',
8+
'KeyUsage' => 'SIGN_VERIFY'
9+
).body
710
key_id = result['KeyMetadata']['KeyId']
811

912
result

0 commit comments

Comments
 (0)