Skip to content

Commit

Permalink
Add test for new display values of formLabel and columnHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
agrancaric committed Apr 11, 2022
1 parent 545b742 commit 1e188bf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ void shouldResolveConfigurationWithOverrideDefined() {

assertThat(registryEntityConfiguration.getPropertyConfigurationList()).hasSize(5);
assertThat(registryEntityConfiguration.getPropertyConfigurationList()).extracting("name").containsExactly("name", "id", "nonEditableProperty", "floatNumber", "doubleNumber");
assertThat(registryEntityConfiguration.getPropertyConfigurationList()).extracting("formLabel").containsExactly(
"Name of property", "Id", "Non editable property", "Float number", "Double number"
);
assertThat(registryEntityConfiguration.getPropertyConfigurationList()).extracting("columnHeader").containsExactly(
"Header of property", "Id", "Non editable property", "Float number", "Double number"
);
assertThat(registryEntityConfiguration.getPropertyConfigurationList()).extracting("isDecimal").containsExactly(false, false, false, true, true);

// and when
Expand Down

0 comments on commit 1e188bf

Please sign in to comment.