Skip to content

Commit

Permalink
Fixing displayOrder assert in TestModelServiceContract
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jun 20, 2016
1 parent 4437969 commit b23705b
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -397,7 +397,10 @@ public void test101GetAccount() throws Exception {
display("attribute fullname definition", fullNameAttrDef);
PrismAsserts.assertDefinition(fullNameAttrDef, dummyResourceCtl.getAttributeFullnameQName(),
DOMUtil.XSD_STRING, 1, 1);
assertEquals("Wrong fullname displayOrder", (Integer)260, fullNameAttrDef.getDisplayOrder());
// MID-3144
if (fullNameAttrDef.getDisplayOrder() == null || fullNameAttrDef.getDisplayOrder() < 100 || fullNameAttrDef.getDisplayOrder() > 400) {
AssertJUnit.fail("Wrong fullname displayOrder: " + fullNameAttrDef.getDisplayOrder());
}
assertEquals("Wrong fullname displayName", "Full Name", fullNameAttrDef.getDisplayName());

assertSteadyResources();
Expand Down

0 comments on commit b23705b

Please sign in to comment.