GUI LDAP Patch request HTTP_NO_CONTENT response
Changes:
- Added valid_status_codes HTTP_OK and HTTP_NO_CONTENT
as valid response code for the LPDAT PATCH request
Tested:
- NA
Change-Id: Iae82173ea2583dbdcbfc1fce81edfe048ac42dbc
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/gui/gui_test/security_and_access_menu/test_ldap_sub_menu.robot b/gui/gui_test/security_and_access_menu/test_ldap_sub_menu.robot
index 38ce20b..0755e4b 100644
--- a/gui/gui_test/security_and_access_menu/test_ldap_sub_menu.robot
+++ b/gui/gui_test/security_and_access_menu/test_ldap_sub_menu.robot
@@ -228,6 +228,7 @@
# Clearing existing LDAP configuration by disabling it.
Redfish.Patch ${REDFISH_BASE_URI}AccountService
... body={'${LDAP_TYPE}': {'ServiceEnabled': ${False}}}
+ ... valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
# Wait for GUI to reflect LDAP disabled status.
Run Keywords Refresh GUI AND Sleep 10s