🐛 Restore ability to change languages on-the-fly
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / freenet / BaseL10nTranslationTest.kt
index a188d47..def48e3 100644 (file)
@@ -13,7 +13,7 @@ import java.util.*
 class BaseL10nTranslationTest {
 
        private val baseL10n = mock<BaseL10n>()
-       private val translation = BaseL10nTranslation(baseL10n)
+       private val translation = BaseL10nTranslation { baseL10n }
 
        @Test
        fun `translate method is facade for the correct method`() {