test: 存在しないユーザーの名前を複雑にしてうっかり被ったりしないように

This commit is contained in:
usbharu 2023-11-30 01:56:29 +09:00
parent fbfcc8f67a
commit b3fb870cbe
1 changed files with 1 additions and 1 deletions

View File

@ -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() } }
} }