Testcase to test service user role change
Changes:
- Add test case to verify modifying Service user role
Change-Id: Icfb39c113e4403985f34aba75f574cbda06ab997
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/service_account/test_service_user.robot b/openpower/service_account/test_service_user.robot
index 7ffccf1..a4929b3 100644
--- a/openpower/service_account/test_service_user.robot
+++ b/openpower/service_account/test_service_user.robot
@@ -59,6 +59,15 @@
Redfish.Delete /redfish/v1/AccountService/Accounts/service valid_status_codes=[${HTTP_FORBIDDEN}]
+Verify Modifying Service User Role
+ [Documentation] Verify error while modifyig service user role via Redfish.
+ [Tags] Verify_Modifying_Service_User_Role
+
+ ${payload}= Create Dictionary RoleId=Operator
+ Redfish.Patch /redfish/v1/AccountService/Accounts/service body=&{payload}
+ ... valid_status_codes=[${HTTP_FORBIDDEN}]
+
+
*** Keywords ***
Suite Setup Execution