Skip to content

Commit ea85081

Browse files
committed
Fixed test
1 parent c559ba1 commit ea85081

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

components-starter/camel-jolokia-starter/src/test/java/org/apache/camel/component/jolokia/springboot/JolokiaComponentAutoConfigurationOnK8STest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void sslConfigurationTest() {
6666
.hasFieldOrProperty("config").isNotNull()
6767
.extracting("config")
6868
.hasFieldOrPropertyWithValue("protocol", "https")
69-
.hasFieldOrPropertyWithValue("context", "/jolokia/")
69+
.hasFieldOrPropertyWithValue("context", "/jolokia")
7070
.hasFieldOrPropertyWithValue("useSslClientAuthentication", true)
7171
.hasFieldOrProperty("caCert").isNotNull();
7272

components-starter/camel-jolokia-starter/src/test/java/org/apache/camel/component/jolokia/springboot/JolokiaComponentAutoConfigurationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void defaultConfigurationTest() {
8989
.hasFieldOrProperty("config").isNotNull()
9090
.extracting("config")
9191
.hasFieldOrPropertyWithValue("protocol", "http")
92-
.hasFieldOrPropertyWithValue("context", "/jolokia/");
92+
.hasFieldOrPropertyWithValue("context", "/jolokia");
9393

9494
assertDiscoveryEnabled(true);
9595
}

0 commit comments

Comments
 (0)