Fixed tests

This commit is contained in:
Christian Basler 2018-04-03 22:13:23 +02:00
parent 4e5ba4401a
commit 9b75a8c2ef

View File

@ -19,7 +19,7 @@ package ch.dissem.bitmessage.repository
import ch.dissem.bitmessage.BitmessageContext import ch.dissem.bitmessage.BitmessageContext
import ch.dissem.bitmessage.InternalContext import ch.dissem.bitmessage.InternalContext
import ch.dissem.bitmessage.Preferences import ch.dissem.bitmessage.Preferences
import ch.dissem.bitmessage.cryptography.sc.SpongyCryptography import ch.dissem.bitmessage.cryptography.bc.BouncyCryptography
import ch.dissem.bitmessage.entity.BitmessageAddress import ch.dissem.bitmessage.entity.BitmessageAddress
import ch.dissem.bitmessage.entity.ObjectMessage import ch.dissem.bitmessage.entity.ObjectMessage
import ch.dissem.bitmessage.entity.payload.V4Pubkey import ch.dissem.bitmessage.entity.payload.V4Pubkey
@ -41,7 +41,7 @@ open class TestBase {
@JvmStatic @JvmStatic
fun init() { fun init() {
mockedInternalContext( mockedInternalContext(
cryptography = SpongyCryptography(), cryptography = BouncyCryptography(),
proofOfWorkEngine = MultiThreadedPOWEngine() proofOfWorkEngine = MultiThreadedPOWEngine()
) )
} }