yesamer commented on code in PR #2162:
URL:
https://github.com/apache/incubator-kie-kogito-examples/pull/2162#discussion_r2816233556
##########
kogito-quarkus-examples/dmn-resource-jar-quarkus-example/dmn-quarkus-consumer-example/src/test/java/org/kie/kogito/dmn/consumer/example/NativeTrafficViolationIT.java:
##########
@@ -21,7 +21,11 @@
import io.quarkus.test.junit.QuarkusIntegrationTest;
@QuarkusIntegrationTest
-public class NativeTrafficViolationIT extends TrafficViolationTest {
+public class NativeTrafficViolationIT extends TrafficViolationTestBase {
// Execute the same tests but in native mode.
+ // Extends TrafficViolationTestBase (not TrafficViolationTest) because
+ // @QuarkusIntegrationTest does not support @Inject fields.
+ // See https://github.com/quarkusio/quarkus/discussions/24775
+ // See https://quarkus.io/guides/getting-started-testing
Review Comment:
@jeejz As @baldimir said in another PR, I guess we can remove this comment
and add it in the PR's description
--
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]