Skip to content

Commit 0240477

Browse files
author
uzma
committed
[bael-7903] code clean up
1 parent e923990 commit 0240477

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spring-reactive-modules/spring-reactive-4/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
<groupId>org.springframework.cloud</groupId>
5252
<artifactId>spring-cloud-contract-wiremock</artifactId>
5353
<scope>test</scope>
54-
<version>${wiremock-spring-cloud.version}</version></dependency>
54+
<version>${wiremock-spring-cloud.version}</version>
55+
</dependency>
5556
</dependencies>
5657

5758
</project>

spring-reactive-modules/spring-reactive-4/src/test/java/com/baeldung/webclient/WeatherAPIIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public void givenWebClientBaseURLConfiguredToWireMock_whenMulitpleGet_thenWireMo
195195
// Stubbing response for the first call
196196
stubFor(WireMock.get(urlEqualTo("/weather?city=London"))
197197
.inScenario("Weather Scenario")
198-
.whenScenarioStateIs(Scenario.STARTED)
198+
.whenScenarioStateIs("started")
199199
.willReturn(aResponse().withStatus(200)
200200
.withHeader("Content-Type", "application/json")
201201
.withBody("{\"city\": \"London\", \"temperature\": 20, \"description\": \"Cloudy\"}"))

0 commit comments

Comments
 (0)