Modified redfish response code in automated testcases

Change-Id: I730fcd46af21fecac123bc7171e04f53d2db821c
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 1eb53f7..7ffccf1 100644
--- a/openpower/service_account/test_service_user.robot
+++ b/openpower/service_account/test_service_user.robot
@@ -30,7 +30,7 @@
     ${payload}=  Create Dictionary
     ...  UserName=service Password=TestPwd1  RoleId=Operator  Enabled=${True}
     Redfish.Post  /redfish/v1/AccountService/Accounts/  body=&{payload}
-    ...  valid_status_codes=[${HTTP_BAD_REQUEST}]
+    ...  valid_status_codes=[${HTTP_FORBIDDEN}]
 
 
 Verify Modifying Service User Password
@@ -40,7 +40,7 @@
      ${payload}=  Create Dictionary  Password=NewTestPwd123
      # Modification of service user password is not allowed via Redfish API.
      Redfish.Patch  /redfish/v1/AccountService/Accounts/service  body=&{payload}
-     ...  valid_status_codes=[${HTTP_BAD_REQUEST}]
+     ...  valid_status_codes=[${HTTP_FORBIDDEN}]
 
 
 Verify Renaming Service User
@@ -49,14 +49,14 @@
 
      ${payload}=  Create Dictionary  UserName=new_service
      Redfish.Patch  /redfish/v1/AccountService/Accounts/service  body=&{payload}
-     ...  valid_status_codes=[${HTTP_BAD_REQUEST}]
+     ...  valid_status_codes=[${HTTP_FORBIDDEN}]
 
 
 Verify Deleting Service User
      [Documentation]  Verify error while deleting service user via Redfish.
      [Tags]  Verify_Deleting_Service_User
 
-     Redfish.Delete  /redfish/v1/AccountService/Accounts/service  valid_status_codes=[${HTTP_BAD_REQUEST}]
+     Redfish.Delete  /redfish/v1/AccountService/Accounts/service  valid_status_codes=[${HTTP_FORBIDDEN}]
 
 
 *** Keywords ***