From 47daf65bae6f7e9f09813270c4c20da72987d40c Mon Sep 17 00:00:00 2001 From: Liam Garvie Date: Tue, 23 Feb 2021 09:30:27 +0000 Subject: [PATCH] BAEL-4672 changed jmeter integration test's spacing to use spaces instead of tabs --- .../com/baeldung/JmeterIntegrationTest.java | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/jmeter/src/test/java/com/baeldung/JmeterIntegrationTest.java b/jmeter/src/test/java/com/baeldung/JmeterIntegrationTest.java index 537e27dc55..a1494416ef 100644 --- a/jmeter/src/test/java/com/baeldung/JmeterIntegrationTest.java +++ b/jmeter/src/test/java/com/baeldung/JmeterIntegrationTest.java @@ -15,22 +15,21 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @SpringBootTest class JmeterIntegrationTest { - MockMvc mvc; + MockMvc mvc; - public JmeterIntegrationTest(WebApplicationContext wac) { - this.mvc = MockMvcBuilders.webAppContextSetup(wac).build(); - } + public JmeterIntegrationTest(WebApplicationContext wac) { + this.mvc = MockMvcBuilders.webAppContextSetup(wac).build(); + } - @Test - void whenCallingUUIDController_thenWeShouldRecieveRandomizedResponse() throws Exception { - MockHttpServletResponse response = mvc.perform(get("/api/uuid")) - .andDo(print()) - .andExpect(status().isOk()) - .andReturn() - .getResponse(); - - assertThat(response.getContentAsString()) - .contains("Test message..."); - } + @Test + void whenCallingUUIDController_thenWeShouldRecieveRandomizedResponse() throws Exception { + MockHttpServletResponse response = mvc.perform(get("/api/uuid")) + .andDo(print()) + .andExpect(status().isOk()) + .andReturn() + .getResponse(); + assertThat(response.getContentAsString()) + .contains("Test message..."); + } }