소유확인 페이지 추가
This commit is contained in:
@@ -18,6 +18,7 @@ public class SecurityConfig {
|
|||||||
.requestMatchers(
|
.requestMatchers(
|
||||||
"/",
|
"/",
|
||||||
"/index.do",
|
"/index.do",
|
||||||
|
"/naver1f8222353b24a591d74c3759bba58059.html",
|
||||||
"/robots.txt",
|
"/robots.txt",
|
||||||
"/sitemap.xml",
|
"/sitemap.xml",
|
||||||
"/portfolio.do",
|
"/portfolio.do",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
naver-site-verification: naver1f8222353b24a591d74c3759bba58059.html
|
||||||
@@ -38,6 +38,10 @@ class PublicPageControllerTest {
|
|||||||
mockMvc.perform(get("/sitemap.xml"))
|
mockMvc.perform(get("/sitemap.xml"))
|
||||||
.andExpect(status().isOk())
|
.andExpect(status().isOk())
|
||||||
.andExpect(content().string(org.hamcrest.Matchers.containsString("https://iotdoor.kr/portfolio.do")));
|
.andExpect(content().string(org.hamcrest.Matchers.containsString("https://iotdoor.kr/portfolio.do")));
|
||||||
|
|
||||||
|
mockMvc.perform(get("/naver1f8222353b24a591d74c3759bba58059.html"))
|
||||||
|
.andExpect(status().isOk())
|
||||||
|
.andExpect(content().string(org.hamcrest.Matchers.containsString("naver-site-verification")));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user