mirror of https://github.com/usbharu/Hideout.git
test: テストを修正
This commit is contained in:
parent
5bef3be653
commit
12e2a967a2
|
@ -100,7 +100,7 @@ class AccountApiTest {
|
||||||
.asyncDispatch()
|
.asyncDispatch()
|
||||||
.andExpect { status { isFound() } }
|
.andExpect { status { isFound() } }
|
||||||
|
|
||||||
userQueryServiceImpl.findByNameAndDomain("api-test-user-1", "localhost")
|
userQueryServiceImpl.findByNameAndDomain("api-test-user-1", "example.com")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -116,7 +116,7 @@ class AccountApiTest {
|
||||||
.asyncDispatch()
|
.asyncDispatch()
|
||||||
.andExpect { status { isFound() } }
|
.andExpect { status { isFound() } }
|
||||||
|
|
||||||
userQueryServiceImpl.findByNameAndDomain("api-test-user-2", "localhost")
|
userQueryServiceImpl.findByNameAndDomain("api-test-user-2", "example.com")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
insert into "USERS" (ID, NAME, DOMAIN, SCREEN_NAME, DESCRIPTION, PASSWORD, INBOX, OUTBOX, URL, PUBLIC_KEY, PRIVATE_KEY,
|
insert into "USERS" (ID, NAME, DOMAIN, SCREEN_NAME, DESCRIPTION, PASSWORD, INBOX, OUTBOX, URL, PUBLIC_KEY, PRIVATE_KEY,
|
||||||
CREATED_AT, KEY_ID, FOLLOWING, FOLLOWERS, INSTANCE)
|
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',
|
'5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8',
|
||||||
'https://example.com/users/test-user2/inbox',
|
'https://example.com/users/test-user2/inbox',
|
||||||
'https://example.com/users/test-user2/outbox', 'https://example.com/users/test-user2',
|
'https://example.com/users/test-user2/outbox', 'https://example.com/users/test-user2',
|
||||||
|
|
Loading…
Reference in New Issue