diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/springcloud/consul/application/ConsulAssert.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/springcloud/consul/application/ConsulAssert.java index 14e39561763..a662c3e9e16 100644 --- a/src/test/java/tech/jhipster/lite/generator/server/springboot/springcloud/consul/application/ConsulAssert.java +++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/springcloud/consul/application/ConsulAssert.java @@ -73,8 +73,10 @@ public static void assertProperties(Project project) { "spring.cloud.consul.discovery.health-check-path=/management/health", "spring.cloud.consul.discovery.tags[0]=version=@project.version@", "spring.cloud.consul.discovery.tags[1]=context-path=${server.servlet.context-path:}", - "spring.cloud.consul.host=localhost", - "spring.cloud.consul.port=8500" + "spring.cloud.consul.discovery.tags[2]=profile=${spring.profiles.active:}", + "spring.cloud.consul.discovery.tags[3]=git-version=${git.commit.id.describe:}", + "spring.cloud.consul.discovery.tags[4]=git-commit=${git.commit.id.abbrev:}", + "spring.cloud.consul.discovery.tags[5]=git-branch=${git.branch:}" ) );