This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 2429229581cd Make it clear that BaseGraphqlTest class does not contain
tests
2429229581cd is described below
commit 2429229581cd38d86a1904b0c3784ec136ec5778
Author: Aurélien Pupier <[email protected]>
AuthorDate: Thu Jun 18 12:16:08 2026 +0200
Make it clear that BaseGraphqlTest class does not contain tests
by making it abstract
code smell reported by Sonar
https://sonarcloud.io/organizations/apache/rules?open=java%3AS2187&rule_key=java%3AS2187
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../test/java/org/apache/camel/component/graphql/BaseGraphqlTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-graphql/src/test/java/org/apache/camel/component/graphql/BaseGraphqlTest.java
b/components/camel-graphql/src/test/java/org/apache/camel/component/graphql/BaseGraphqlTest.java
index b39125bf790e..1327b4cdf13b 100644
---
a/components/camel-graphql/src/test/java/org/apache/camel/component/graphql/BaseGraphqlTest.java
+++
b/components/camel-graphql/src/test/java/org/apache/camel/component/graphql/BaseGraphqlTest.java
@@ -38,7 +38,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertInstanceOf;
import static org.junit.jupiter.api.Assertions.assertNotNull;
-public class BaseGraphqlTest extends BaseHttpTest {
+public abstract class BaseGraphqlTest extends BaseHttpTest {
protected void assertUnauthorizedResponse(Exchange exchange) {
assertNotNull(exchange);