X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FIdentityLoaderTest.kt;fp=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FIdentityLoaderTest.kt;h=07126bb01c903585724b9f29e20581f8219cd5c9;hb=0b1b8274edd82ec8f82dbcede82f98d8b06e93e6;hp=ca1197185319cb30b1e2427016c6d9eb1c078881;hpb=29c49a60fc90dff37f981d813aa613606cbcd4dd;p=Sone.git diff --git a/src/test/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoaderTest.kt b/src/test/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoaderTest.kt index ca11971..07126bb 100644 --- a/src/test/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoaderTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/freenet/wot/IdentityLoaderTest.kt @@ -70,7 +70,7 @@ class IdentityLoaderTest { private fun createOwnIdentity(id: String, nickname: String, requestUri: String, insertUri: String, contexts: List, properties: Map): OwnIdentity = DefaultOwnIdentity(id, nickname, requestUri, insertUri).apply { setContexts(contexts) - this.setProperties(properties) + this.properties = properties } private fun createIdentity(id: String, nickname: String, requestUri: String, contexts: List, properties: Map): Identity =