adding custom uri settings

This commit is contained in:
John Thompson 2019-05-28 19:18:44 -04:00
parent 82a0da2627
commit a4accabe20
No known key found for this signature in database
GPG Key ID: 25C80CE5BD1AF258

View File

@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
//import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; //import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
@ExtendWith(RestDocumentationExtension.class) @ExtendWith(RestDocumentationExtension.class)
@AutoConfigureRestDocs @AutoConfigureRestDocs(uriScheme = "https", uriHost = "dev.springframework.guru", uriPort = 80)
@WebMvcTest(BeerController.class) @WebMvcTest(BeerController.class)
@ComponentScan(basePackages = "guru.springframework.sfgrestdocsexample.web.mappers") @ComponentScan(basePackages = "guru.springframework.sfgrestdocsexample.web.mappers")
class BeerControllerTest { class BeerControllerTest {