Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cjaehnen committed Nov 12, 2023
1 parent b1ee9b5 commit c435ec0
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ class BeanRefreshControllerTest : WordSpec() {
.andExpect {
status { isOk() }
content { contentType(MediaType.APPLICATION_JSON) }
content { json(objectMapper.writeValueAsString(BeanRefreshResponse(message = "Successfully refreshed bean 'greetingBean'"))) }
content {
json(
objectMapper.writeValueAsString(
BeanRefreshResponse(message = "Successfully refreshed bean 'greetingBean'"),
),
)
}
}

verify { beanRefresher.refresh(any<BeanRefreshConfig<GreetingBean>>()) }
Expand All @@ -89,7 +95,13 @@ class BeanRefreshControllerTest : WordSpec() {
.andExpect {
status { isBadRequest() }
content { contentType(MediaType.APPLICATION_JSON) }
content { json(objectMapper.writeValueAsString(BeanRefreshResponse(message = "Unable to refresh bean 'greetingBean'"))) }
content {
json(
objectMapper.writeValueAsString(
BeanRefreshResponse(message = "Unable to refresh bean 'greetingBean'"),
),
)
}
}

verify { beanRefresher.refresh(any<BeanRefreshConfig<GreetingBean>>()) }
Expand Down

0 comments on commit c435ec0

Please sign in to comment.