From 86584521f3f2f2fe617b4ab00a9b9fa0debc6ce1 Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Wed, 26 Jul 2023 11:58:33 -0300 Subject: [PATCH] Fixed assertNotEquals with different types Signed-off-by: Helber Belmiro --- .../openapi/generator/it/circuit/breaker/SimpleOpenApiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/circuit-breaker/src/test/java/io/quarkiverse/openapi/generator/it/circuit/breaker/SimpleOpenApiTest.java b/integration-tests/circuit-breaker/src/test/java/io/quarkiverse/openapi/generator/it/circuit/breaker/SimpleOpenApiTest.java index 2e9556ef..8980f481 100644 --- a/integration-tests/circuit-breaker/src/test/java/io/quarkiverse/openapi/generator/it/circuit/breaker/SimpleOpenApiTest.java +++ b/integration-tests/circuit-breaker/src/test/java/io/quarkiverse/openapi/generator/it/circuit/breaker/SimpleOpenApiTest.java @@ -37,7 +37,7 @@ void circuitBreaker() throws IOException { compilationUnit.findAll(ClassOrInterfaceDeclaration.class).stream() .map(c -> c.getAnnotationByClass(RegisterRestClient.class)).filter(Optional::isPresent).map(Optional::get) .map(a -> a.asNormalAnnotationExpr().getPairs()) - .forEach(n -> n.forEach(p -> assertNotEquals("baseUri", p.getName()))); + .forEach(n -> n.forEach(p -> assertNotEquals("baseUri", p.getName().asString()))); List methodDeclarations = compilationUnit.findAll(MethodDeclaration.class); assertThat(methodDeclarations).isNotEmpty();