mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 23:11:10 +00:00
test: 存在しないユーザーの名前を複雑にしてうっかり被ったりしないように
This commit is contained in:
@@ -55,7 +55,7 @@ class WebFingerTest {
|
||||
@Test
|
||||
fun `webfinger 存在しないユーザーに404`() {
|
||||
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() } }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user