Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit c185ca7

Browse files
committed
Fix failing test
1 parent 7730b6c commit c185ca7

File tree

1 file changed

+1
-1
lines changed
  • spring-cloud-dataflow-server-core/src/test/java/org/springframework/cloud/dataflow/server/controller

1 file changed

+1
-1
lines changed

spring-cloud-dataflow-server-core/src/test/java/org/springframework/cloud/dataflow/server/controller/AboutControllerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void testListApplications() throws Exception {
7575
ResultActions result = mockMvc.perform(get("/about").accept(MediaType.APPLICATION_JSON)).andDo(print()).andExpect(status().isOk());
7676
result.andExpect(jsonPath("$.featureInfo.analyticsEnabled", is(false)))
7777
.andExpect(jsonPath("$.featureInfo.skipperEnabled", is(false)))
78-
.andExpect(jsonPath("$.versionInfo.implementation.name", is("spring-cloud-dataflow-server-local")))
78+
.andExpect(jsonPath("$.versionInfo.implementation.name", is("${info.app.name}")))
7979
.andExpect(jsonPath("$.versionInfo.implementation.version", is("1.2.3.IMPLEMENTATION.TEST")))
8080
.andExpect(jsonPath("$.versionInfo.core.name", is("Spring Cloud Data Flow Core")))
8181
.andExpect(jsonPath("$.versionInfo.core.version", is("1.2.3.CORE.TEST")))

0 commit comments

Comments
 (0)