pefernan commented on code in PR #4058:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4058#discussion_r2354830678
##########
kogito-codegen-modules/kogito-codegen-decisions/src/test/java/org/kie/kogito/codegen/decision/DecisionModelResourcesProviderGeneratorTest.java:
##########
@@ -82,7 +81,7 @@ public void generateDecisionModelResourcesProvider() {
// Align this FAI-215 test (#621) with unknown order of generated
files (ie.: additional generated files might be present)
//A Rest endpoint is always generated per model.
List<GeneratedFile> generatedRESTFiles = generatedFiles.stream()
- .filter(gf -> gf.type().equals(AbstractGenerator.REST_TYPE))
+ .filter(gf -> gf.type().equals(GeneratedFileType.REST))
Review Comment:
@gitgabrio maybe static import?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]