diff --git a/src/test/kotlin/dev/usbharu/hideout/plugins/ActivityPubKtTest.kt b/src/test/kotlin/dev/usbharu/hideout/plugins/ActivityPubKtTest.kt index 36cefbbd..8cadb063 100644 --- a/src/test/kotlin/dev/usbharu/hideout/plugins/ActivityPubKtTest.kt +++ b/src/test/kotlin/dev/usbharu/hideout/plugins/ActivityPubKtTest.kt @@ -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) { diff --git a/src/test/kotlin/dev/usbharu/hideout/plugins/KtorKeyMapTest.kt b/src/test/kotlin/dev/usbharu/hideout/plugins/KtorKeyMapTest.kt index 3f56dd92..7e87a802 100644 --- a/src/test/kotlin/dev/usbharu/hideout/plugins/KtorKeyMapTest.kt +++ b/src/test/kotlin/dev/usbharu/hideout/plugins/KtorKeyMapTest.kt @@ -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) { diff --git a/src/test/kotlin/dev/usbharu/hideout/routing/activitypub/UsersAPTest.kt b/src/test/kotlin/dev/usbharu/hideout/routing/activitypub/UsersAPTest.kt index 1aa2f7d8..fe8877d6 100644 --- a/src/test/kotlin/dev/usbharu/hideout/routing/activitypub/UsersAPTest.kt +++ b/src/test/kotlin/dev/usbharu/hideout/routing/activitypub/UsersAPTest.kt @@ -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") {