test: テストを修正

This commit is contained in:
usbharu 2023-12-07 15:01:17 +09:00
parent 5bef3be653
commit 12e2a967a2
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ class AccountApiTest {
.asyncDispatch()
.andExpect { status { isFound() } }
userQueryServiceImpl.findByNameAndDomain("api-test-user-1", "localhost")
userQueryServiceImpl.findByNameAndDomain("api-test-user-1", "example.com")
}
@Test
@ -116,7 +116,7 @@ class AccountApiTest {
.asyncDispatch()
.andExpect { status { isFound() } }
userQueryServiceImpl.findByNameAndDomain("api-test-user-2", "localhost")
userQueryServiceImpl.findByNameAndDomain("api-test-user-2", "example.com")
}
@Test

View File

@ -1,6 +1,6 @@
insert into "USERS" (ID, NAME, DOMAIN, SCREEN_NAME, DESCRIPTION, PASSWORD, INBOX, OUTBOX, URL, PUBLIC_KEY, PRIVATE_KEY,
CREATED_AT, KEY_ID, FOLLOWING, FOLLOWERS, INSTANCE)
VALUES (2, 'test-user2', 'localhost', 'Im test user.', 'THis account is test user.',
VALUES (2, 'test-user2', 'example.com', 'Im test user.', 'THis account is test user.',
'5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8',
'https://example.com/users/test-user2/inbox',
'https://example.com/users/test-user2/outbox', 'https://example.com/users/test-user2',