Commit Graph

808 Commits

Author SHA1 Message Date
Swikriti Tripathi
8a0a823c9d update expected to fail 2022-12-21 11:24:03 +05:45
Swikriti Tripathi
b75e97eef8 Bump core commit id for tests (#5239) 2022-12-16 16:13:09 +05:45
Sawjan Gurung
334811186c [tests-only][full-ci] Add CORS API tests (#5187) 2022-12-16 11:55:18 +05:45
Saw-jan
22e9801cf6 bump core commit id 2022-12-15 11:10:14 +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
sagargurung1001@gmail.com
c5d5d9d136 Added test for space public link 2022-12-07 14:03:14 +05:45
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
Swikriti Tripathi
98407ca967 Update the expected to fail to use correct issue link 2022-12-02 10:04:56 +05:45
Swikriti Tripathi
ae7c009f59 update expected to fail 2022-12-01 17:03:27 +05:45
Artur Neumann
cff0ecc777 Merge pull request #5163 from owncloud/setUnrestrictedQuota
[test-only] ApiTest. check unrestricted quota
2022-12-01 10:03:32 +05:45
Viktor Scharf
51e88c9fff check urestricted quota 2022-11-30 15:54:46 +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
sagargurung1001@gmail.com
1a8c4008d1 Added test to get user information with GraphAPI 2022-11-28 14:32:55 +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
Michael Barz
6bc4b45c8e fix expected failures 2022-11-25 16:15:21 +01:00
Willy Kloucek
a77a5ce9da run the wopivalidator in CI 2022-11-24 11:20:19 +01:00
Sawjan Gurung
13452e48cb add Graph API tests for editign group display name (#5101) 2022-11-24 10:28:27 +01:00
Jörn Friedrich Dreyer
26f3e8fd3d [full-ci] Use sizediff propagation (#5092)
* bump reva

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

log calls

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

bump to fix, disable api log

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

bump to latest fix

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

remove unexpected failures

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

bump reva, update unexpected passes

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

test sizediff propagation

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

use reva edge

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

* add changelog

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-23 16:42:04 +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
Prarup Gurung
dc49b65594 Share test expanded for permission 0, internal (#5100) 2022-11-23 11:38:24 +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
Artur Neumann
0d6a993319 Merge pull request #5080 from owncloud/assignRoleToUser
[test-only] Api-test. assign role to user
2022-11-23 09:58:59 +05:45
Phil Davis
535146c128 Update issue 1267 in expected-failures-API-on-OCIS-storage 2022-11-23 06:11:15 +05:45
Viktor Scharf
34e4f0f1dc assign role to user 2022-11-22 22:52:05 +01:00
Andre Duffeck
60b979d1d4 Find spaces (#5044)
* Use the node name for the name field in the index instead of the path

* Add changelog

* Fix tests

* Adapt expected failures
2022-11-15 16:52:55 +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
Prarup Gurung
923c84d361 Added api test for sharing spaces with manager permission 2022-11-15 11:38:33 +05:45
Prarup Gurung
e09a723384 Added api test for sharing spaces without manager permission 2022-11-15 09:33:12 +05:45
Prarup Gurung
be4646652b Added api test for sharing disabled space (#5048) 2022-11-14 09:17:30 +01:00
André Duffeck
2e9c67f85c Fix HTTP status code expectation 2022-11-11 13:27:01 +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
Benedikt Kulmann
2774e6f658 chore: adjust expected failures file 2022-11-04 16:07:07 +01:00
Benedikt Kulmann
65f5410f95 Revert "remove passing test from expected failure"
This reverts commit 016549d6a1.
2022-11-04 16:00:27 +01:00
Benedikt Kulmann
d2c847dcde chore: adjust expected failures file 2022-11-04 15:58:13 +01:00
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
Saw-jan
016549d6a1 remove passing test from expected failure 2022-11-04 14:59:03 +05:45
Prarup Gurung
9d872eb840 Fixed line numbers in expected failures 2022-11-02 16:24:24 +05:45
Prarup Gurung
9b8a729ab5 Fixed line numbers in expected failures 2022-11-01 15:54:45 +05:45
Prarup Gurung
35672b0014 Refactored feature files to make consistent inter-scenarios space 2022-11-01 15:13:14 +05:45
Prarup Gurung
cdb4383e7d Fixed line numbers in expected failures 2022-11-01 10:42:31 +05:45
Kiran Parajuli
f2f952576d Update the line numbers in the expected failures list
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-28 17:31:15 +05:45
Michael Barz
361efa6804 update reva and add config 2022-10-28 10:43:54 +02: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