🚑 fix first tests
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 1 Nov 2019 19:08:34 +0000 (20:08 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 1 Nov 2019 19:08:34 +0000 (20:08 +0100)
src/test/kotlin/net/pterodactylus/sone/freenet/wot/WebOfTrustConnectorTest.kt

index e795328..2d02e3a 100644 (file)
@@ -51,25 +51,25 @@ class WebOfTrustConnectorTest {
 
        @Test
        fun `trusted identities are requested with correct own identity`() {
-               val pluginConnector = createPluginConnector("GetIdentitiesByScore", hasField("Truster", equalTo("id")))
+               createPluginConnector("GetIdentitiesByScore", hasField("Truster", equalTo("id")))
                                .connect { loadTrustedIdentities(ownIdentity) }
        }
 
        @Test
        fun `trusted identities are requested with correct selection parameter`() {
-               val pluginConnector = createPluginConnector("GetIdentitiesByScore", hasField("Selection", equalTo("+")))
+               createPluginConnector("GetIdentitiesByScore", hasField("Selection", equalTo("+")))
                                .connect { loadTrustedIdentities(ownIdentity) }
        }
 
        @Test
        fun `trusted identities are requested with empty context if null context requested`() {
-               val pluginConnector = createPluginConnector("GetIdentitiesByScore", hasField("Context", equalTo("")))
+               createPluginConnector("GetIdentitiesByScore", hasField("Context", equalTo("")))
                                .connect { loadTrustedIdentities(ownIdentity) }
        }
 
        @Test
        fun `trusted identities are requested with context if context requested`() {
-               val pluginConnector = createPluginConnector("GetIdentitiesByScore", hasField("Context", equalTo("TestContext")))
+               createPluginConnector("GetIdentitiesByScore", hasField("Context", equalTo("TestContext")))
                                .connect { loadTrustedIdentities(ownIdentity, "TestContext") }
        }