This commit is contained in:
Bill Burke 2015-08-21 17:01:29 -04:00
parent 165fba6b9c
commit c25967bd61
2 changed files with 3 additions and 2 deletions

View file

@ -67,7 +67,8 @@ public enum EventType {
IDENTITY_PROVIDER_ACCCOUNT_LINKING(false), IDENTITY_PROVIDER_ACCCOUNT_LINKING(false),
IDENTITY_PROVIDER_ACCCOUNT_LINKING_ERROR(false), IDENTITY_PROVIDER_ACCCOUNT_LINKING_ERROR(false),
IMPERSONATE(true), IMPERSONATE(true),
CUSTOM_REQUIRED_ACTION(true); CUSTOM_REQUIRED_ACTION(true),
CUSTOM_REQUIRED_ACTION_ERROR(true);
private boolean saveByDefault; private boolean saveByDefault;

View file

@ -108,7 +108,7 @@ public class TermsAndConditionsTest {
termsPage.declineTerms(); termsPage.declineTerms();
events.expectLogin().detail(Details.CUSTOM_REQUIRED_ACTION, TermsAndConditions.PROVIDER_ID) events.expectLogin().event(EventType.CUSTOM_REQUIRED_ACTION_ERROR).detail(Details.CUSTOM_REQUIRED_ACTION, TermsAndConditions.PROVIDER_ID)
.error(Errors.REJECTED_BY_USER) .error(Errors.REJECTED_BY_USER)
.removeDetail(Details.CONSENT) .removeDetail(Details.CONSENT)
.assertEvent(); .assertEvent();