Correct the response code for invalid request

Changes:
Setting invalid values to BIOS Attributes via Refish
should return 400

Tested:
Tested changes on BMC environment

Change-Id: Ief4e2fe814587a7ffbd6d06cbec2081ae0efeae7
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/pldm/test_redfish_bios_attributes.robot b/pldm/test_redfish_bios_attributes.robot
index 03f9985..93373f8 100755
--- a/pldm/test_redfish_bios_attributes.robot
+++ b/pldm/test_redfish_bios_attributes.robot
@@ -44,7 +44,7 @@
     ${enum_attr}=  Evaluate  random.choice(${attr_handles})  modules=random
 
     Redfish.Patch  ${BIOS_ATTR_SETTINGS_URI}  body={"Attributes":{"${enum_attr}": '0'}}
-    ...  valid_status_codes=[${HTTP_INTERNAL_SERVER_ERROR},${HTTP_FORBIDDEN}]
+    ...  valid_status_codes=[${HTTP_BAD_REQUEST}]
 
 
 Redfish Verify Set Out Of Range Integer Value For BIOS Integer Attribute Type
@@ -58,9 +58,9 @@
     ${count}=  Evaluate  ${attr_val_data['${int_attr}']["UpperBound"]} + 5
 
     Redfish.Patch  ${BIOS_ATTR_SETTINGS_URI}  body={"Attributes":{"${int_attr}": ${count}}}
-    ...  valid_status_codes=[${HTTP_INTERNAL_SERVER_ERROR},${HTTP_BAD_REQUEST}]
+    ...  valid_status_codes=[${HTTP_BAD_REQUEST}]
 
-
+*** Comments ***
 Redfish Verify Set Out Of Range String Value For BIOS String Attribute Type
 
     [Documentation]  Verify set out of range string value for BIOS string attribute type