test: テストを修正

This commit is contained in:
usbharu 2023-04-10 00:40:58 +09:00
parent 839aa693ce
commit fc051d2061
3 changed files with 18 additions and 2 deletions

View File

@ -32,7 +32,11 @@ class ActivityPubKtTest {
}
override suspend fun findByName(name: String): UserEntity? {
return UserEntity(1, "test", "localhost", "test", "")
return UserEntity(1, "test", "localhost", "test", "","","","")
}
override suspend fun findByUrl(url: String): UserEntity? {
TODO("Not yet implemented")
}
override suspend fun update(userEntity: UserEntity) {

View File

@ -27,7 +27,11 @@ class KtorKeyMapTest {
}
override suspend fun findByName(name: String): UserEntity? {
return UserEntity(1, "test", "localhost", "test", "")
return UserEntity(1, "test", "localhost", "test", "","","","")
}
override suspend fun findByUrl(url: String): UserEntity? {
TODO("Not yet implemented")
}
override suspend fun update(userEntity: UserEntity) {

View File

@ -90,6 +90,10 @@ class UsersAPTest {
TODO("Not yet implemented")
}
override suspend fun findByUrl(url: String): UserEntity? {
TODO("Not yet implemented")
}
override suspend fun update(userEntity: UserEntity) {
TODO("Not yet implemented")
}
@ -122,6 +126,10 @@ class UsersAPTest {
return person
}
override suspend fun fetchPerson(url: String): Person {
TODO("Not yet implemented")
}
})
}
client.get("/users/test") {