You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/10/18 10:42:11 UTC

[2/2] syncope git commit: [SYNCOPE-1138] Console test missing update

[SYNCOPE-1138] Console test missing update


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/03a71f3a
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/03a71f3a
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/03a71f3a

Branch: refs/heads/master
Commit: 03a71f3ad0d397dfc6542d997868d0f5fbf48909
Parents: 20f5c70
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Wed Oct 18 12:41:53 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Wed Oct 18 12:42:01 2017 +0200

----------------------------------------------------------------------
 .../org/apache/syncope/fit/console/UsersITCase.java     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/03a71f3a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
index 7751605..fe7bc12 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
@@ -154,15 +154,15 @@ public class UsersITCase extends AbstractConsoleITCase {
                 + "specification:type:dropDownChoiceField", Constants.ON_CHANGE);
 
         // The ON_CHANGE above should enable this component, but it doesn't; doing it by hand
-        Component rightType = findComponentById(
+        Component otherType = findComponentById(
                 TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form:view:relationships:specification",
-                "rightType");
-        assertNotNull(rightType);
-        rightType.setEnabled(true);
+                "otherType");
+        assertNotNull(otherType);
+        otherType.setEnabled(true);
 
-        formTester.setValue("view:relationships:specification:rightType:dropDownChoiceField", "PRINTER");
+        formTester.setValue("view:relationships:specification:otherType:dropDownChoiceField", "PRINTER");
         TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form:view:relationships:"
-                + "specification:rightType:dropDownChoiceField", Constants.ON_CHANGE);
+                + "specification:otherType:dropDownChoiceField", Constants.ON_CHANGE);
 
         component = findComponentByProp("name", TAB_PANEL + "outerObjectsRepeater:"
                 + "0:outer:form:content:form:view:relationships:specification:searchPanelContainer:searchPanel:"