-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tests-only][full-ci] add tests for checking the header location for tus upload #10807
base: master
Are you sure you want to change the base?
Conversation
b79bb57
to
e9d5edd
Compare
e61de04
to
c78d8a1
Compare
Signed-off-by: nabim777 <[email protected]>
Signed-off-by: nabim777 <[email protected]>
Signed-off-by: nabim777 <[email protected]>
c78d8a1
to
0ec975d
Compare
ee5defd
to
91ea534
Compare
91ea534
to
0842b80
Compare
0842b80
to
d592bae
Compare
Signed-off-by: nabim777 <[email protected]>
b56281f
to
b8211ed
Compare
Signed-off-by: nabim777 <[email protected]>
918dca1
to
d5b8065
Compare
Signed-off-by: nabim777 <[email protected]>
d5b8065
to
abcb354
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are lots of line breaks. May be fix them also.
5e17628
to
f858b02
Compare
f858b02
to
373c077
Compare
373c077
to
db2f7b6
Compare
Signed-off-by: nabim777 <[email protected]>
db2f7b6
to
c860b81
Compare
@@ -309,7 +320,7 @@ public function uploadFileUsingTus( | |||
$headers = \array_merge($headers, $checksumHeader); | |||
} | |||
|
|||
$client = new Client( | |||
$tusClient = new TusClient( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$tusClient = new TusClient( | |
$client = new TusClient( |
* @throws GuzzleException | ||
* @throws ReflectionException | ||
*/ | ||
public function publicUploadFileUsingTus( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use the above existing method (update if necessary)?
Signed-off-by: nabim777 <[email protected]>
Quality Gate passedIssues Measures |
Description
Since current test uses TUS library for tus operations and is unable to get and check the response.
Due to this, there was no check for the location header on TUS upload.
So, in this PR, following things are done:
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: