Skip to content

Commit

Permalink
DynamicNewField SMT: Output Default Value Fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Lalith Kota <[email protected]>
  • Loading branch information
lalithkota committed Oct 22, 2024
1 parent 18931be commit ca94545
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void testWithSchema() {
config.put(DynamicNewField.ES_INPUT_FIELDS_CONFIG, "id,lang_code");
config.put(DynamicNewField.ES_OUTPUT_FIELDS_CONFIG, "name");
config.put(DynamicNewField.INPUT_FIELDS_CONFIG, "regcntr_id,lang_code");
config.put(DynamicNewField.DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.INPUT_DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.OUTPUT_FIELDS_CONFIG, "regcntr_name");

xformValue.configure(config);
Expand Down Expand Up @@ -71,7 +71,7 @@ public void testSchemaless() {
config.put(DynamicNewField.ES_INPUT_FIELDS_CONFIG, "id,lang_code");
config.put(DynamicNewField.ES_OUTPUT_FIELDS_CONFIG, "name");
config.put(DynamicNewField.INPUT_FIELDS_CONFIG, "regcntr_id,lang_code");
config.put(DynamicNewField.DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.INPUT_DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.OUTPUT_FIELDS_CONFIG, "regcntr_name");

xformValue.configure(config);
Expand Down Expand Up @@ -110,7 +110,7 @@ public void testSchemalessNullField() {
config.put(DynamicNewField.ES_INPUT_FIELDS_CONFIG, "id");
config.put(DynamicNewField.ES_OUTPUT_FIELDS_CONFIG, "name");
config.put(DynamicNewField.INPUT_FIELDS_CONFIG, "regcntr_id");
config.put(DynamicNewField.DEFAULT_VALUE_CONFIG, "");
config.put(DynamicNewField.INPUT_DEFAULT_VALUE_CONFIG, "");
config.put(DynamicNewField.OUTPUT_FIELDS_CONFIG, "regcntr_name");

xformValue.configure(config);
Expand Down

0 comments on commit ca94545

Please sign in to comment.