-
Notifications
You must be signed in to change notification settings - Fork 189
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] Store share invite response #10994
base: master
Are you sure you want to change the base?
Conversation
cdfb50e
to
9d27882
Compare
|
@@ -691,6 +697,12 @@ public function updateResourceShare(string $user, TableNode $body, string $perm | |||
\json_encode($body), | |||
$permissionID | |||
); | |||
|
|||
if ($response->getStatusCode() === 200) { | |||
$this->featureContext->shareNgAddToCreatedUserGroupShares($response); |
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.
for update response, we should update the share instead of adding to the list. Check if shareNgAddToCreatedUserGroupShares
method updates the share data properly
$this->featureContext->shareNgAddToCreatedUserGroupShares($response); | |
$this->featureContext->shareNgAddToCreatedUserGroupShares($response); |
Description
This PR stores share related response to use in later step to get permission id and expiration date
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: