Commit Graph
48 Commits
Author SHA1 Message Date
AmritaandGitHub 15a4941281 Add tests to add user in a group at once (#5831) 2023-03-15 13:58:04 +05:45
Prajwol AmatyaandGitHub e836b2d138 added test for getting details of a single group (#5760)
addressed reviews

updated steps with JSON drill-down functionality

reviews addressed

fixed linter error

conflicts resolved

fixed errors

addressed reviews
2023-03-15 12:10:59 +05:45
Viktor ScharfandGitHub 94c3df2246 [test-only] add test to filter or (#5771)
* add test to filter or

* lint
2023-03-10 09:05:00 +01:00
Viktor ScharfandGitHub 8560015c18 [test-only] add api tests to editing user name (#5769)
* add tests to edit user name

* style fix

* fix after review
2023-03-10 09:02:33 +01:00
Swikriti TripathiandGitHub 249adc7cd7 Seperate test steps for positive and negative cases (#5773)
fix php style

use the correct step

fix other steps

fix other php style

remove unwanted param

Refactor test function for handeling errors

fix return types

clean up code

address reviews
2023-03-09 16:21:50 +05:45
AmritaandGitHub 8bd4c3a9a2 Add tests to add user in a group at once (#5743) 2023-03-07 14:36:04 +05:45
Viktor ScharfandGitHub 1e1b4379ae [test-only] ApiTest. Disable/enable user (#5639) 2023-03-06 16:52:55 +05:45
AmritaandGitHub 4377754573 [tests-only][full-ci]Extend tests related to assign role (#5584)
* Extend assign role test coverage

* Check app Entity has been set or not
2023-03-03 09:17:34 +05:45
Sagar GurungandGitHub 028ca42fed Forward port getallgroupmemberswithallmembers to master (#5658)
* Added graph API test for getting all groups along with its members

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor implementation code

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* PR address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Update the local api expected to failure

* Review Address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-02-27 11:16:50 +05:45
amrita 0b71d10c37 Add graph api tests for assign role 2023-02-23 15:34:11 +05:45
Viktor ScharfandGitHub 56d3192fc7 [test-only] ApiTest. test for filter appRoleAssigment (#5629)
* add test for filter

* fixed typos
2023-02-23 09:53:12 +01:00
Viktor ScharfandGitHub 3e3d3f9de2 [test-only] ApiTest. get users of members of several groups (#5575)
* get users with group filter

* fix test
2023-02-16 16:34:13 +01:00
Viktor ScharfandGitHub 139cf79f61 [test-only] Api test. get applications list. (#5529) 2023-02-13 09:38:04 +05:45
Viktor ScharfandGitHub 0bf121d2e2 [test-only] api tests for getting group info of user (#5476)
* add tests for geting group info

* more tests
2023-02-01 08:41:16 +01:00
Viktor ScharfandGitHub 9bdd1e9ce9 [test-only] apiTest. Delete group from the space (#5365)
* add test

* add empty line
2023-01-10 12:03:52 +01:00
sagargurung1001@gmail.comandPhil Davis b9fda28235 Review address for separate functon 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis a05a746297 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 1874280a56 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis e15afb04d4 Implement user drive information 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 46575abe11 Drive infor assertion 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 265db41819 remove before 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis c80e773234 Added drive info check 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 6ff9d6196f Added expected to failure file 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.comandPhil Davis 9f0a22af7e Added test for getting user information by admin using Graph API 2022-12-30 17:31:35 +05:45
Prarup GurungandGitHub 00efd8af2e [full-ci] [tests-only] Added api test for edit user using graph API (#5150) 2022-12-14 14:15:18 +05:45
Jörn Friedrich DreyerandGitHub 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
Prarup GurungandGitHub 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 GurungandGitHub 1c246bb3b5 add graph api tests for removing user from group (#5104)
extend tests

refactor
2022-11-28 09:28:52 +01:00
Sawjan GurungandGitHub 13452e48cb add Graph API tests for editign group display name (#5101) 2022-11-24 10:28:27 +01:00
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 GurungandGitHub 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 GurungandGitHub 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 GurungandGitHub 03f53a3031 [tests-only][full-ci] Add API tests for creating groups (graph API) (#4992) 2022-11-11 09:31:13 +05:45
Viktor ScharfandGitHub 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
sagargurung1001@gmail.com 1aabf51292 Fix all coding standard error 2022-09-08 16:29:15 +05:45
Viktor ScharfandGitHub 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
Viktor ScharfandGitHub 156d9e9e86 ApiTests. refactoring apiSpace suite (#4121) 2022-07-08 09:03:40 +05:45
Phil Davis c796f01396 Adjust acceptance test code 2022-05-12 09:43:50 +05:45
saw-jan bddfade253 update expected to fail file, refactor comment doc
exlude TestHelpers from codacy as done for other test context files

Signed-off-by: saw-jan <saw.jan.grg3e@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuliandsaw-jan e078abc7fd Add group existane check methods
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiranandsaw-jan e39f49ef11 Helper and context refactorings
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiranandsaw-jan ce0e47b365 Setup ci for graph tests
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiranandsaw-jan 5b04aa1ee7 Implement context for core
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Kiran Parajuliandsaw-jan 9e2962d561 added graph helper
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45