Skip to content

Commit

Permalink
Update _entityClass_ResourceIT.java.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Sep 23, 2024
1 parent 949f4e1 commit b86a84c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,15 @@ if (field.fieldTypeString || field.blobContentTypeText) {
updatedTextString = value.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
}
} catch (error) {
this.log(this.chalkRed('Error generating test value for entity "' + entityClass +
this.log.warn('Error generating test value for entity "' + entityClass +
'" field "' + field.fieldName + '" with pattern "' + field.fieldValidateRulesPattern +
'", generating default values for this field. Detailed error message: "' + error.message + '".'));
'", generating default values for this field. Detailed error message: "' + error.message + '".');
}
if (sampleTextString === updatedTextString) {
updatedTextString = updatedTextString + "B";
this.log(this.chalkRed('Randomly generated first and second test values for entity "' + entityClass +
this.log.warn('Randomly generated first and second test values for entity "' + entityClass +
'" field "' + field.fieldName + '" with pattern "' + field.fieldValidateRulesPattern +
'" in file "' + entityClass + 'ResourceIT" where equal, added symbol "B" to second value.'));
'" in file "' + entityClass + 'ResourceIT" where equal, added symbol "B" to second value.');
}
} _%>

Expand Down

0 comments on commit b86a84c

Please sign in to comment.