Skip to content

Commit

Permalink
other(element-template-generator): add static feel into element templ…
Browse files Browse the repository at this point in the history
…ate for boolean and Number properties 5
  • Loading branch information
mathias-vandaele committed Feb 26, 2025
1 parent a666557 commit 5cefe0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ private void assertDeduplicationProperties(ElementTemplate template) {
assertThat(manualModeFlagProperty.getBinding().type()).isEqualTo("zeebe:property");
assertThat(((ZeebeProperty) manualModeFlagProperty.getBinding()).name())
.isEqualTo("deduplicationModeManualFlag");
assertThat(manualModeFlagProperty.getValue()).isEqualTo("=false");
assertThat(manualModeFlagProperty.getValue()).isEqualTo(Boolean.FALSE);

var manualModeProperty = getPropertyById("deduplicationModeManual", template);
assertThat(manualModeProperty).isNotNull();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ void booleanProperty() {
var property = getPropertyById("booleanProperty", template);
assertThat(property.getType()).isEqualTo("Boolean");
assertThat(property.getBinding()).isEqualTo(new ZeebeInput("booleanProperty"));
assertThat(property.getValue()).isEqualTo("=false");
assertThat(property.getValue()).isEqualTo(Boolean.FALSE);
}

@Test
Expand Down

0 comments on commit 5cefe0b

Please sign in to comment.