mirror of https://github.com/usbharu/Hideout.git
test: 存在しないユーザーの名前を複雑にしてうっかり被ったりしないように
This commit is contained in:
parent
fbfcc8f67a
commit
b3fb870cbe
|
@ -55,7 +55,7 @@ class WebFingerTest {
|
||||||
@Test
|
@Test
|
||||||
fun `webfinger 存在しないユーザーに404`() {
|
fun `webfinger 存在しないユーザーに404`() {
|
||||||
mockMvc
|
mockMvc
|
||||||
.get("/.well-known/webfinger?resource=acct:test-user@example.com")
|
.get("/.well-known/webfinger?resource=acct:invalid-user-notfound-afdjashfal@example.com")
|
||||||
.andExpect { status { isNotFound() } }
|
.andExpect { status { isNotFound() } }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue