diff --git a/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/resource/ResourceControllerIntegrationTests.java b/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/resource/ResourceControllerIntegrationTests.java index 1dec372d..7db84c4d 100644 --- a/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/resource/ResourceControllerIntegrationTests.java +++ b/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/resource/ResourceControllerIntegrationTests.java @@ -124,10 +124,10 @@ public class ResourceControllerIntegrationTests { @Test public void resourceHttpDoesNotExist() throws Exception { when(this.resources.findOne("foo", "default", "master", "doesNotExist.txt")) - .thenThrow(new NoSuchResourceException("Does not exist")); + .thenThrow(new NoSuchResourceException("Does not exist")); ResponseEntity response = new TestRestTemplate() - .getForEntity("http://localhost:" + port + "/foo/default/master/doesNotExist.txt", String.class); + .getForEntity("http://localhost:" + port + "/foo/default/master/doesNotExist.txt", String.class); assertThat(response.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND); verify(this.resources).findOne("foo", "default", "master", "doesNotExist.txt"); }