Commit Graph

315 Commits

Author SHA1 Message Date
sagargurung1001@gmail.com b9fda28235 Review address for separate functon 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com a05a746297 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 1874280a56 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com e15afb04d4 Implement user drive information 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 46575abe11 Drive infor assertion 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 265db41819 remove before 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com c80e773234 Added drive info check 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 6ff9d6196f Added expected to failure file 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 9f0a22af7e Added test for getting user information by admin using Graph API 2022-12-30 17:31:35 +05:45
Phil Davis 0c10ee4d2d Adjust parameter name to theResponseShouldContain 2022-12-29 12:34:11 +05:45
Phil Davis 07d3ff7dfb Refactor theResponseShouldContain test step 2022-12-29 12:34:11 +05:45
Swikriti Tripathi 1ceaca7364 Add api test for propfind contract testing 2022-12-29 11:08:28 +05:45
Prarup Gurung 00efd8af2e [full-ci] [tests-only] Added api test for edit user using graph API (#5150) 2022-12-14 14:15:18 +05:45
Prarup Gurung 6949dbd125 [full-ci] [tests-only] Added api test for sharing spaces to group (#5023) 2022-12-14 14:13:55 +05:45
Jörn Friedrich Dreyer d359a7c2cf [full-ci] standalone graph service with LDAP (#5199)
* standalone graph service with LDAP

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* no panic on PATCH and DELETE

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix apitoken yaml key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update user, fix response codes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix group creation return code

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* remove unknown user property

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix create return code checks in graph feature context

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* updating uses 200 OK when returning a body

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* revert user statusCreated change for now

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* revert return code changes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-12 12:46:10 +01:00
Viktor Scharf 881b60926d check urestricted quota (#5173) 2022-12-08 11:01:03 +01:00
Sawjan Gurung 2469af12ac [tests-only][full-ci] Extend API contract tests for GET drives/spaces (#5151)
* do not set response from helper functions

* extend list spaces tests

* fix php code style
2022-12-05 17:42:51 +01:00
Prarup Gurung ad66bf2d1f [full-ci] [tests-only] Added api test for delete user using graph API (#5102)
* Added api test for delete user using graph API

* Added scenario, admin user tries to delete another admin user

* Added scenario, delete user with username having different case

* Addressed reviews
2022-11-30 14:09:09 +01:00
sagargurung1001@gmail.com 4124173a51 Review Address 2022-11-29 11:54:28 +05:45
sagargurung1001@gmail.com 9813fe2841 Replace asserting userID with regex match 2022-11-28 14:34:23 +05:45
sagargurung1001@gmail.com 82049df3ee Refactored and added test to get user information with GraphAPI 2022-11-28 14:34:23 +05:45
Sawjan Gurung 1c246bb3b5 add graph api tests for removing user from group (#5104)
extend tests

refactor
2022-11-28 09:28:52 +01:00
Sawjan Gurung 13452e48cb add Graph API tests for editign group display name (#5101) 2022-11-24 10:28:27 +01:00
Sawjan Gurung f77def1e75 [tests-only][full-ci] Add API tests for deleting groups (graph API) (#5076)
* add API tests for deleting groups

* add tests to expected failure

* fix php style

* update expected failure list

extend test

* merge scenarios

* bump core commit id

extend tests

descrive scenario

* use when step

* fix

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2022-11-23 12:35:37 +01:00
Swikriti Tripathi 1108da1750 Add api tests for changing role of a space (#5088) 2022-11-23 11:40:20 +01:00
Sawjan Gurung c72c5f897a [tests-only][full-ci] Add API tests for adding user to group (graph API) (#5093)
* add tests for adding users to a group

* extend tests

* fix php code style

* check new member in the group

* fix php code style

* cleanup
2022-11-23 11:33:04 +01:00
Viktor Scharf 34e4f0f1dc assign role to user 2022-11-22 22:52:05 +01:00
Sawjan Gurung 6b13cea633 [tests-only][full-ci] Add API tests for getting groups and group members (graph API) (#5005)
* add tests for getting groups and group members

* bump core commit id

* fix scenario description

* fix php style

* add tests for creating empty group

* add unauthorized response check

* mark empty group creation scenario as expected to fail

* address reviews
2022-11-15 16:11:43 +01:00
Sawjan Gurung 03f53a3031 [tests-only][full-ci] Add API tests for creating groups (graph API) (#4992) 2022-11-11 09:31:13 +05:45
Viktor Scharf 753812bf63 [test-only] add API acceptance tests to create user using the admin privilege (#4902)
* add api test

* fix typo

* php style fix
2022-11-04 12:39:54 +01:00
Viktor Scharf 51c16e41be [test-only] ApiTest.check all response items (#4886)
* check response

* php-style fix
2022-10-25 13:48:01 +02:00
Michael Barz d116245ddb reflect shares space rename in tests
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2022-10-21 00:46:02 +02:00
Viktor Scharf 7fb7a8b6e1 [test-only] Apitest. Add checking parentId (#4763)
* add checking parentId

* add case where parent is space

* php style fix
2022-10-17 13:46:07 +02:00
Viktor Scharf 07dc73f382 Overwriting a file while moving and moving 2022-10-14 11:48:20 +02:00
Swikriti Tripathi 2957ec37aa Remove the propfind method 2022-09-29 12:40:02 +05:45
Prarup Gurung 59c4bd803f Added TUSUpload related tests for /Shares in ocis 2022-09-21 09:20:28 +05:45
Swikriti Tripathi 0387e15d34 Reuse the core code 2022-09-16 15:40:51 +05:45
sagargurung1001@gmail.com e826cf9e13 Implement undefined steps 2022-09-15 09:44:11 +05:45
sagargurung1001@gmail.com fa998e4600 Reuse code from core for shareOperation 2022-09-09 16:26:49 +05:45
Viktor Scharf 94b9838a08 [tests-only] ApiTests. add more search tests (#4543)
* add more search tests

* php-style fix
2022-09-09 12:33:21 +02:00
Phil Davis b7db48b04e fix code style 2022-09-09 14:14:34 +05:45
sagargurung1001@gmail.com 9489e179dd Remove folder lock related tests from ocis 2022-09-09 14:04:59 +05:45
Phil Davis 50471af588 Merge pull request #4400 from owncloud/addMoveSpacesTestsOnOcis
[tests-only][full-ci]Add /Shares related move tests on ocis which are removed from core
2022-09-09 14:00:49 +05:45
Phil Davis 979da92aab Merge pull request #4536 from owncloud/reuseCodeChecksum
[tests-only][full-ci]Reuse code from core
2022-09-09 13:59:18 +05:45
Phil Davis 4bd709e81a Merge pull request #4535 from owncloud/reuseCodeFavorites
[full-ci][tests-only]Refactor and Reuse code from core
2022-09-09 13:56:42 +05:45
sagargurung1001@gmail.com 61b9b05e40 Check coding standard with force error 2022-09-08 16:33:44 +05:45
sagargurung1001@gmail.com 1aabf51292 Fix all coding standard error 2022-09-08 16:29:15 +05:45
amrita e0201c82d4 Reuse core code 2022-09-08 16:15:24 +05:45
amrita d6228c0ba8 Add /Shares related move tests on ocis which are removed from core 2022-09-08 16:15:24 +05:45
Viktor Scharf 070818ac99 delete method 2022-09-08 10:02:53 +02:00