Skip to content

Commit

Permalink
update stubbed error response in test
Browse files Browse the repository at this point in the history
Error XML looks different these days. Tests broke when the AWS S3 client
got its XML matcher updated[1] in v1.152.3.

[1] aws/aws-sdk-ruby@49f4713
  • Loading branch information
robbkidd committed Jun 23, 2024
1 parent 19360a9 commit a7ae9e4
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions spec/honeycomb/integrations/aws_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -784,15 +784,12 @@ def version_of(service)
:copy_object,
status_code: 200,
headers: {},
body: <<-XML,
<Response>
<Errors>
<Error>
<Code>WTF</Code>
<Message>Some special error occurred</Message>
</Error>
</Errors>
</Response>
body: <<~XML,
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Error>
<Code>WTF</Code>
<Message>Some special error occurred</Message>
</Error>
XML
)

Expand Down

0 comments on commit a7ae9e4

Please sign in to comment.