Commit Graph

109 Commits

Author SHA1 Message Date
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
Phil Davis
8386d243ff Adjust test for changed spaces list JSON 2022-02-16 09:51:59 +05:45
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
Michael Barz
d3b87fa3a1 fix API tests 2022-02-11 14:56:05 +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
7a91fc0012 typo corrections 2022-01-30 20:33:02 +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
16c7706d62 remove redundancy
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2022-01-16 11:57:57 +01:00
Michael Barz
1db13d8a39 add tests 2022-01-16 11:57:57 +01:00
jkoberg
f6739402ec add /home/ tests to expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-01-10 16:00:26 +01:00
Jörn Friedrich Dreyer
fb7a93a46d expect type project instead of share
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-07 15:24:58 +00: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
Phil Davis
b7fc7ee990 Reword Spaces API scenario descriptions 2021-12-21 13:55:59 +05:45
Phil Davis
a8fc6ee79b Apply review sugggestions for share space tests 2021-12-21 09:35:42 +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
ScharfViktor
581bcae709 add quotaTest 2021-11-29 21:21:10 +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
Phil Davis
36ccb6af17 Merge pull request #2769 from owncloud/archivesRessourcePaths
[tests-only] use archiver endpoint with path
2021-11-15 21:54:52 +05:45
Artur Neumann
f7847be028 [tests-only] fix archiver tests expectations 2021-11-15 16:20:53 +05:45
Artur Neumann
bfd7496230 [tests-only] use archiver endpoint with path 2021-11-15 16:18:10 +05:45
Artur Neumann
67441a7877 [tests-only] test archiver endpoint with shares 2021-11-11 14:39:22 +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
c97cbf9b98 test downloading a folder 2021-11-09 15:04:05 +05:45
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