DEV: Update AWS API stub following gem version bump (#14673)
The latest version of the gem doesn't send whitespace in this request body, so we need to update the test stub accordingly
This commit is contained in:
parent
ae91818c19
commit
aac3547cc2
|
@ -1201,7 +1201,7 @@ describe UploadsController do
|
||||||
:post,
|
:post,
|
||||||
"#{temp_location}?uploadId=#{external_upload_stub.external_upload_identifier}"
|
"#{temp_location}?uploadId=#{external_upload_stub.external_upload_identifier}"
|
||||||
).with(
|
).with(
|
||||||
body: "<CompleteMultipartUpload xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\">\n <Part>\n <ETag>test1</ETag>\n <PartNumber>1</PartNumber>\n </Part>\n <Part>\n <ETag>test2</ETag>\n <PartNumber>2</PartNumber>\n </Part>\n</CompleteMultipartUpload>\n"
|
body: "<CompleteMultipartUpload xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><Part><ETag>test1</ETag><PartNumber>1</PartNumber></Part><Part><ETag>test2</ETag><PartNumber>2</PartNumber></Part></CompleteMultipartUpload>"
|
||||||
).to_return(status: 200, body: <<~XML)
|
).to_return(status: 200, body: <<~XML)
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CompleteMultipartUploadResult>
|
<CompleteMultipartUploadResult>
|
||||||
|
|
Loading…
Reference in New Issue