generated from pricelees/issue-pr-template
chore: PageController를 view 패키지 하위로 이동
This commit is contained in:
parent
22e6ad4f71
commit
8f2cbade8e
@ -1,4 +1,4 @@
|
|||||||
package roomescape.view.controller
|
package roomescape.view
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller
|
import org.springframework.stereotype.Controller
|
||||||
import org.springframework.web.bind.annotation.GetMapping
|
import org.springframework.web.bind.annotation.GetMapping
|
||||||
@ -1,6 +1,6 @@
|
|||||||
package roomescape.view.controller
|
package roomescape.view
|
||||||
|
|
||||||
import org.hamcrest.Matchers.containsString
|
import org.hamcrest.Matchers
|
||||||
import roomescape.common.RoomescapeApiTest
|
import roomescape.common.RoomescapeApiTest
|
||||||
|
|
||||||
class PageControllerTest() : RoomescapeApiTest() {
|
class PageControllerTest() : RoomescapeApiTest() {
|
||||||
@ -54,7 +54,7 @@ class PageControllerTest() : RoomescapeApiTest() {
|
|||||||
then("로그인 페이지로 이동한다.") {
|
then("로그인 페이지로 이동한다.") {
|
||||||
runGetTest(it) {
|
runGetTest(it) {
|
||||||
statusCode(200)
|
statusCode(200)
|
||||||
body(containsString("<title>Login</title>"))
|
body(Matchers.containsString("<title>Login</title>"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -86,7 +86,7 @@ class PageControllerTest() : RoomescapeApiTest() {
|
|||||||
|
|
||||||
runGetTest(it) {
|
runGetTest(it) {
|
||||||
statusCode(200)
|
statusCode(200)
|
||||||
body(containsString("<title>Login</title>"))
|
body(Matchers.containsString("<title>Login</title>"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user