Michael Barz
94f3d7562a
add Api test for adding space managers ( #3166 )
...
* add Api test for adding space managers
* add cheking permissions in response
* fix after rebase
* only personal space dispayes owner
Co-authored-by: Viktor Scharf <scharf.vi@gmail.com >
2022-02-17 11:21:07 +01:00
Michael Barz
af0a5fac18
Create space with description ( #3168 )
...
* send description during create space
* add changelog
* update reva
* add to API test
* only use opaque if not nil
* use forked xattr to fix windows build
Signed-off-by: Michael Barz <mbarz@owncloud.com >
2022-02-15 14:18:27 +01:00
Viktor Scharf
493ec780f0
fix after review
2022-02-11 10:43:42 +01:00
Viktor Scharf
85714c113d
added checks: who is owner, who has be granted
2022-02-10 20:21:22 +01:00
Viktor Scharf
663d1be94c
add apiTests: restore space
2022-02-07 18:30:28 +01:00
Viktor Scharf
828d3eec96
change tests. add disabling/deleting space tests
2022-01-30 20:50:41 +01:00
Viktor Scharf
ed81da84e7
add tests remove objects. Add creating subfolder, showing object in folder
2022-01-30 20:33:02 +01:00
Viktor Scharf
5a855bf597
apiTests: add test share Space with role
2022-01-20 19:54:19 +01:00
Michael Barz
e10b524d71
add Tests and Test Steps
2022-01-19 12:15:42 +01:00
Michael Barz
1db13d8a39
add tests
2022-01-16 11:57:57 +01:00
Phil Davis
60c41c4f6f
More baseUrl refactoring
2021-12-22 10:25:28 +05:45
Phil Davis
5dc6573efc
Refactor baseUrl in SpacesContext
2021-12-22 09:49:44 +05:45
Phil Davis
cd87508020
Refactor userHasSharedSpace
2021-12-22 09:31:18 +05:45
ScharfViktor
f3d3431905
add check OCS status to steps
2021-12-21 18:22:32 +01:00
Phil Davis
3afb6cc4d7
Refactor SpacesContext
2021-12-21 21:25:45 +05:45
ScharfViktor
a531db28fb
add test share space
2021-12-20 17:48:35 +01:00
Phil Davis
5af08c516b
[tests-only] Minor local API test changes
2021-12-14 10:10:13 +05:45
Michael Barz
7c2e70f8b6
fix api tests
2021-12-12 17:34:04 +01:00
ScharfViktor
be1c190a56
change name of the space(uniq name)
2021-12-02 10:05:28 +01:00
ScharfViktor
216a62cf2e
add Given form for steps
2021-12-02 00:01:52 +01:00
Dipak Acharya
f8b0f69dd0
[Test-Only] enforce strict type checking for php api tests
2021-11-29 11:17:20 +05:45
ScharfViktor
f5c763cbec
add tests change space
2021-11-23 19:51:15 +01:00
Phil Davis
1a76adccc5
Add test step about 'space contains for user'
2021-11-18 13:39:57 +05:45
Artur Neumann
bfd7496230
[tests-only] use archiver endpoint with path
2021-11-15 16:18:10 +05:45
Artur Neumann
f056d6c79e
[tests-only] test downloading a file as not owner
2021-11-11 13:33:21 +05:45
Phil Davis
d732c40f62
Refactor spaces API tests
2021-11-11 13:05:46 +05:45
Phil Davis
33a2d45701
Merge pull request #2748 from owncloud/runCbf
...
[tests-only] run php code beautifier on test-php-style-fix
2021-11-11 12:55:14 +05:45
Artur Neumann
9a548ec4cf
fix codestyle of SpacesContext
2021-11-11 12:15:15 +05:45
Artur Neumann
021fa50e9d
[tests-only] test downloading multiple items with archiver
2021-11-11 12:06:46 +05:45
Artur Neumann
9f26620703
Merge pull request #2744 from owncloud/testZipArchive
...
[tests-only] test zip archive download
2021-11-11 10:13:19 +05:45
Michael Barz
f34b1da1a4
Merge pull request #2735 from owncloud/upload-spaces
...
[tests-only] Upload a file into a space
2021-11-10 11:31:10 +01:00
Artur Neumann
701da23141
test zip archive download
2021-11-10 13:54:49 +05:45
Michael Barz
7ebf257135
Add user bob
2021-11-09 20:16:05 +01:00
Artur Neumann
916f0a6225
delete hasFile check
...
this is not needed as the lib checks the file existance on
`getFileContent` and gives a nice eror message if it does not exist
2021-11-09 15:02:13 +05:45
Artur Neumann
13098d9f32
API tests for archiver endpoint (single file)
2021-11-09 14:13:26 +05:45
Michael Barz
80c299eb93
Upload a file
2021-11-08 17:08:52 +01:00
Artur Neumann
2df9b058b5
[skip-ci] format PHP code same as in owncloud/core
2021-11-05 16:33:05 +01:00
Michael Barz
e3d41d3bb1
cleanup
2021-10-28 11:26:50 +02:00
Phil Davis
87997af0b6
Refactor spaces acceptance tests
2021-10-28 13:27:41 +05:45
Michael Barz
86d5c56395
refactor the evaluation of the json response
2021-10-27 17:44:43 +02:00
ScharfViktor
4664e578ca
fix after review
2021-10-27 17:41:03 +02:00
ScharfViktor
5e88ce14fe
separate tests. add check quota. add test create folder
2021-10-27 17:41:03 +02:00
Michael Barz
c1ef23a761
add also propfind steps
2021-10-21 14:47:42 +02:00
Michael Barz
fef74e7552
add some more steps
2021-10-19 16:26:21 +02:00
Michael Barz
72cb487b75
add formerly removed RevaContext
2021-10-18 16:00:14 +02:00
Michael Barz
95112ee266
use HTTP::get
2021-10-18 15:29:43 +02:00
Michael Barz
75e6c46e66
register apiSpaces suite
2021-10-18 15:19:13 +02:00
Michael Barz
490bea0eba
add basic API test for spaces
2021-09-19 17:26:09 +02:00
Phil Davis
d57f7a810c
Move ocis/tests folder into root tests folder
2020-11-25 12:24:14 +05:45
A.Unger
da77819bbf
ocis command on a working state
2020-09-18 15:45:53 +02:00