-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Test remote shares ocs endpoint #34641
Conversation
Codecov Report
@@ Coverage Diff @@
## master #34641 +/- ##
============================================
- Coverage 65.23% 65.23% -0.01%
Complexity 18438 18438
============================================
Files 1203 1203
Lines 69825 69825
Branches 1280 1280
============================================
- Hits 45549 45547 -2
- Misses 23904 23906 +2
Partials 372 372
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #34641 +/- ##
============================================
- Coverage 65.23% 65.23% -0.01%
Complexity 18438 18438
============================================
Files 1203 1203
Lines 69825 69825
Branches 1280 1280
============================================
- Hits 45549 45547 -2
- Misses 23904 23906 +2
Partials 372 372
Continue to review full report at Codecov.
|
@@ -66,6 +66,53 @@ Feature: federated | |||
| mountpoint | {{TemporaryMountPointName#/textfile0.txt}} | | |||
| accepted | 0 | | |||
|
|||
Scenario: Remote sharee requests informations of only one share |
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.
s/informations/information
| permissions | 27 | | ||
|
||
@issue-34636 | ||
Scenario: Remote sharee requests informations of only one share before accepting it |
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.
s/informations/information
@@ -130,6 +133,55 @@ public function userFromServerHasAcceptedLastPendingShare($user, $server) { | |||
$this->featureContext->theOCSStatusCodeShouldBe('100'); | |||
} | |||
|
|||
/** | |||
* @When /^user "([^"]*)" gets informations of last federated cloud share using the sharing API$/ |
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.
s/get informations of last federated cloud share/retrieves the information of the last federated cloud share
e.g. we have existing steps like:
@When /^the administrator retrieves the information of user "([^"]*)" using the provisioning API$/
so we can be consistent with that.
} | ||
|
||
/** | ||
* @When /^user "([^"]*)" gets informations of last pending federated cloud share using the sharing API$/ |
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.
s/get informations of last pending federated cloud share/retrieves the information of the last pending federated cloud share
64eed56
to
6089f49
Compare
backport in #34644 |
Description
more tests for the
/remote_shares
and/remote_shares/pending/
endpontsRelated Issue
part of #34566
Types of changes
Checklist:
Open tasks: