Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
268e6573
Unverified
Commit
268e6573
authored
8 years ago
by
Joas Schilling
Browse files
Options
Downloads
Patches
Plain Diff
Add a new integration test for CREATE only shares
parent
f72f8190
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/integration/features/sharing-v1.feature
+31
-0
31 additions, 0 deletions
build/integration/features/sharing-v1.feature
with
31 additions
and
0 deletions
build/integration/features/sharing-v1.feature
+
31
−
0
View file @
268e6573
...
@@ -189,6 +189,37 @@ Feature: sharing
...
@@ -189,6 +189,37 @@ Feature: sharing
|
url
|
AN_URL
|
|
url
|
AN_URL
|
|
mimetype
|
httpd/unix-directory
|
|
mimetype
|
httpd/unix-directory
|
Scenario
:
Creating a new public share, updating its permissions for "hide file list"
Given
user
"user0"
exists
And
As an
"user0"
When
creating a share with
|
path
|
FOLDER
|
|
shareType
|
3
|
And
Updating last share with
|
permissions
|
4
|
And
the
OCS
status
code
should
be
"100"
And
Getting info of last share
Then
the OCS status code should be
"100"
And
the HTTP status code should be
"200"
And
Share fields of last share match with
|
id
|
A_NUMBER
|
|
item_type
|
folder
|
|
item_source
|
A_NUMBER
|
|
share_type
|
3
|
|
file_source
|
A_NUMBER
|
|
file_target
|
/FOLDER
|
|
permissions
|
4
|
|
stime
|
A_NUMBER
|
|
token
|
A_TOKEN
|
|
storage
|
A_NUMBER
|
|
mail_send
|
0
|
|
uid_owner
|
user0
|
|
storage_id
|
home::user0
|
|
file_parent
|
A_NUMBER
|
|
displayname_owner
|
user0
|
|
url
|
AN_URL
|
|
mimetype
|
httpd/unix-directory
|
Scenario
:
Creating a new public share, updating publicUpload option and getting its info
Scenario
:
Creating a new public share, updating publicUpload option and getting its info
Given
user
"user0"
exists
Given
user
"user0"
exists
And
As an
"user0"
And
As an
"user0"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment