Skip to content

Commit a2e0469

Browse files
author
bnasslahsen
committed
fix tests
1 parent 94f9207 commit a2e0469

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

springdoc-openapi-ui/src/test/java/test/org/springdoc/ui/app1/SpringDocConfigPathsTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
3030
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
3131

32-
@TestPropertySource(properties = "springdoc.swagger-ui.path=/test/swagger.html")
32+
@TestPropertySource(properties = {
33+
"springdoc.swagger-ui.path=/test/swagger.html",
34+
"server.servlet.context-path=/context-path",
35+
"spring.mvc.servlet.path=/servlet-path"
36+
})
3337
public class SpringDocConfigPathsTest extends AbstractSpringDocTest {
3438

3539
@Test

0 commit comments

Comments
 (0)