Fix for callback user design changes
Change-Id: If99fb5168c23ffc47d5fb30196e3da959e196d3d
Signed-off-by: Sandhya Somashekar <sansomas@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index 51982c0..3314a05 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -13,7 +13,6 @@
${account_lockout_duration} ${30}
${account_lockout_threshold} ${3}
-
** Test Cases **
Verify AccountService Available
@@ -316,6 +315,9 @@
Run Keyword If ${enabled} == ${False}
... Redfish.Login
+ Run Keyword If '${role_id}' == 'Callback'
+ ... Run Keywords Redfish.Logout AND Redfish.Login
+
# Validate Role ID of created user.
${role_config}= Redfish_Utils.Get Attribute
... ${REDFISH_ACCOUNTS_URI}${username} RoleId