mirror of https://github.com/usbharu/Hideout.git
test: テストを修正
This commit is contained in:
parent
839aa693ce
commit
fc051d2061
|
@ -32,7 +32,11 @@ class ActivityPubKtTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun findByName(name: String): UserEntity? {
|
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) {
|
override suspend fun update(userEntity: UserEntity) {
|
||||||
|
|
|
@ -27,7 +27,11 @@ class KtorKeyMapTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun findByName(name: String): UserEntity? {
|
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) {
|
override suspend fun update(userEntity: UserEntity) {
|
||||||
|
|
|
@ -90,6 +90,10 @@ class UsersAPTest {
|
||||||
TODO("Not yet implemented")
|
TODO("Not yet implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override suspend fun findByUrl(url: String): UserEntity? {
|
||||||
|
TODO("Not yet implemented")
|
||||||
|
}
|
||||||
|
|
||||||
override suspend fun update(userEntity: UserEntity) {
|
override suspend fun update(userEntity: UserEntity) {
|
||||||
TODO("Not yet implemented")
|
TODO("Not yet implemented")
|
||||||
}
|
}
|
||||||
|
@ -122,6 +126,10 @@ class UsersAPTest {
|
||||||
return person
|
return person
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override suspend fun fetchPerson(url: String): Person {
|
||||||
|
TODO("Not yet implemented")
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
client.get("/users/test") {
|
client.get("/users/test") {
|
||||||
|
|
Loading…
Reference in New Issue