Commit Graph
38 Commits
Author SHA1 Message Date
Viktor Scharf daddb63900 [test-only] ApiTest. Disable/enable user (#5639) (#5739)
* [test-only] ApiTest. Disable/enable user (#5639)

* fix expected failures lines
2023-03-07 09:06:22 +01:00
Amrita 5a97f72ad8 Extend assign role test coverage (#5744) 2023-03-07 12:14:05 +05:45
Swikriti Tripathi fe4195d694 [tests-only][full-ci]Seperate test steps for positive and negative cases (#5733)
* Seperate test steps for positive and negative cases

* fix php style

* use the correct step

* fix other steps

* fix other php style

* remove unwanted param
2023-03-07 09:40:09 +05:45
Prarup Gurung 8f44c8a3ab Added skip tag @skipOnStable2.0 2023-03-06 12:43:17 +05:45
Prarup Gurung 9c1de43dd1 Reverted removed feature and scenarios 2023-03-06 12:43:17 +05:45
Saw-jan 3671b5debe remove not implemented scenarios
remove not implemented scenarios
2023-03-06 12:43:17 +05:45
amrita 817db7174a Add graph api tests for assign role 2023-03-06 12:43:17 +05:45
Viktor Scharf 9c699dab08 [test-only] ApiTest. test for filter appRoleAssigment (#5629)
* add test for filter

* fixed typos
2023-03-06 12:43:17 +05:45
Viktor Scharf e3f20fb9eb [test-only] ApiTest. get users of members of several groups (#5575)
* get users with group filter

* fix test
2023-03-06 12:43:17 +05:45
Viktor Scharf 1f2f9f3107 [test-only] Api test. get applications list. (#5529) 2023-03-06 12:43:17 +05:45
amrita d6c08e1e51 Add new step 2023-03-02 12:30:39 +05:45
amrita d59dd4cd91 Add multiple users in a group with a single request 2023-03-02 09:13:39 +05:45
Sagar Gurung ed57edb3f7 [tests-only][full-ci]Added graph API test for getting all groups along with its members (#5593) 2023-02-22 14:52:11 +05:45
Viktor Scharf 9983aa760d add checking (#5495) 2023-02-02 09:00:08 +01:00
Phil Davis 62ef3c024a Apply suggestions from code review 2022-12-30 17:40:31 +05:45
sagargurung1001@gmail.com 9ce6f8a4f1 Addressed review 2022-12-30 17:36:56 +05:45
sagargurung1001@gmail.com 4001919025 Implement user drive information 2022-12-30 17:36:45 +05:45
sagargurung1001@gmail.com 09c9da8c44 Drive infor assertion 2022-12-30 17:36:32 +05:45
sagargurung1001@gmail.com 2a6e601407 Added drive info check 2022-12-30 17:36:10 +05:45
sagargurung1001@gmail.com ca42566265 Added expected to failure file 2022-12-30 17:35:56 +05:45
sagargurung1001@gmail.com 688c146047 Added test for getting user information by admin using Graph API 2022-12-30 17:34:18 +05:45
Prarup Gurung 218ef2b4d8 [full-ci] [tests-only] Added api test for edit user using graph API (#5150) 2022-12-15 10:10:52 +05:45
Prarup Gurung 36d15194e7 [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-12-15 10:10:33 +05:45
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
Sawjan Gurung 13452e48cb add Graph API tests for editign group display name (#5101) 2022-11-24 10:28:27 +01:00
Sawjan GurungandViktor Scharf 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
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
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
Prarup Gurung 35672b0014 Refactored feature files to make consistent inter-scenarios space 2022-11-01 15:13:14 +05:45
Ralf Haferkamp 29f52515e1 graph: Fix Status code when updating the password
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)

See #4480
2022-09-05 15:57:46 +02:00
Viktor Scharf 3b548c9be3 [test-only] apiTest. change own password (#4480)
* apiTest. change own password

* fix
2022-08-31 13:02:33 +02:00
Prarup Gurung 07af8544e8 Added test for creating group with case sensitive 2022-08-24 16:33:47 +05:45