Updated fedauth error tests (#2538)
This commit is contained in:
Родитель
b27b0c1ed7
Коммит
ef6b7709c0
|
@ -397,7 +397,8 @@ public class ErrorMessageTest extends FedauthCommon {
|
|||
&& e.getCause().getCause().getMessage().toLowerCase().contains("invalid username or password")
|
||||
|| e.getCause().getCause().getMessage().contains(ERR_MSG_SIGNIN_TOO_MANY)
|
||||
|| e.getCause().getCause().getMessage().contains(ERR_FAULT_ID3342)
|
||||
|| e.getMessage().contains(ERR_MSG_REQUEST_THROTTLED));
|
||||
|| e.getMessage().contains(ERR_MSG_REQUEST_THROTTLED)
|
||||
|| e.getMessage().contains(ERR_FAULT_AUTH_FAIL));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -424,7 +425,8 @@ public class ErrorMessageTest extends FedauthCommon {
|
|||
&& e.getCause().getCause().getMessage().toLowerCase().contains("invalid username or password")
|
||||
|| e.getCause().getCause().getMessage().contains(ERR_MSG_SIGNIN_TOO_MANY)
|
||||
|| e.getCause().getCause().getMessage().contains(ERR_FAULT_ID3342)
|
||||
|| e.getMessage().contains(ERR_MSG_REQUEST_THROTTLED));
|
||||
|| e.getMessage().contains(ERR_MSG_REQUEST_THROTTLED)
|
||||
|| e.getMessage().contains(ERR_FAULT_AUTH_FAIL));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -445,7 +447,8 @@ public class ErrorMessageTest extends FedauthCommon {
|
|||
&& e.getCause().getCause().getMessage().toLowerCase().contains("invalid username or password")
|
||||
|| e.getCause().getCause().getMessage().contains(ERR_MSG_SIGNIN_TOO_MANY)
|
||||
|| e.getCause().getCause().getMessage().contains(ERR_FAULT_ID3342)
|
||||
|| e.getMessage().contains(ERR_MSG_REQUEST_THROTTLED));
|
||||
|| e.getMessage().contains(ERR_MSG_REQUEST_THROTTLED)
|
||||
|| e.getMessage().contains(ERR_FAULT_AUTH_FAIL));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -128,6 +128,7 @@ public class FedauthCommon extends AbstractTest {
|
|||
static final String ERR_MSG_HAS_BEEN_CLOSED = TestResource.getResource("R_hasBeenClosed");
|
||||
static final String ERR_MSG_SIGNIN_TOO_MANY = TestResource.getResource("R_signinTooManyTimes");
|
||||
static final String ERR_FAULT_ID3342 = "FaultMessage: ID3242";
|
||||
static final String ERR_FAULT_AUTH_FAIL = "FaultMessage: Authentication Failure";
|
||||
static final String ERR_MSG_NOT_AUTH_AND_IS = TestUtils.R_BUNDLE
|
||||
.getString("R_SetAuthenticationWhenIntegratedSecurityTrue");
|
||||
static final String ERR_MSG_NOT_AUTH_AND_USER_PASSWORD = TestUtils.R_BUNDLE
|
||||
|
|
Загрузка…
Ссылка в новой задаче