From 1e7134a5c903fb1dbaa95988ca7a19e52efd8679 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Tue, 15 Oct 2024 12:06:06 +0100 Subject: [PATCH] Boolean mapping getter name in Kotlin --- .../java/io/smallrye/config/test/mapping/KotlinMappingGetter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/extra/src/test/java/io/smallrye/config/test/mapping/KotlinMappingGetter.kt b/testsuite/extra/src/test/java/io/smallrye/config/test/mapping/KotlinMappingGetter.kt index 2fbbd67b6..924b0a58e 100644 --- a/testsuite/extra/src/test/java/io/smallrye/config/test/mapping/KotlinMappingGetter.kt +++ b/testsuite/extra/src/test/java/io/smallrye/config/test/mapping/KotlinMappingGetter.kt @@ -14,6 +14,7 @@ class KotlinMappingGetter { .withDefaultValue("graph.get-tenant", "tenant") .withDefaultValue("graph.get-client-id", "id") .withDefaultValue("graph.get-client-secret", "secret") + .withDefaultValue("graph.get-a-boolean", "secret") .build() val mapping = config.getConfigMapping(GraphOption::class.java) @@ -30,5 +31,6 @@ class KotlinMappingGetter { val tenant: String val clientId: String val clientSecret: String + val aBoolean: Boolean } }