See gh-28239
This commit is contained in:
Leo Li
2021-09-28 13:30:11 +08:00
committed by Stephane Nicoll
parent f00052054e
commit 1770f065a5
23 changed files with 47 additions and 47 deletions

View File

@@ -56,7 +56,7 @@ class AutoConfigureMockRestServiceServerWithRootUriIntegrationTests {
MeterRegistry meterRegistry;
@Test
void whenRestTemplateAppliesARootUriThenMockServerExpecationsAreStillMatched() {
void whenRestTemplateAppliesARootUriThenMockServerExpectationsAreStillMatched() {
this.server.expect(requestTo("/test")).andRespond(withSuccess("hello", MediaType.TEXT_HTML));
ResponseEntity<String> entity = this.restTemplate.getForEntity("/test", String.class);
assertThat(entity.getBody()).isEqualTo("hello");