Test fixes.

This commit is contained in:
Adrian Tiberius 2015-07-08 14:48:05 +02:00
parent e376bfc922
commit 56ccc0853a
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,7 @@
package org.ethereum.db;
import org.ethereum.core.Block;
import org.h2.engine.Session;
import org.hibernate.SessionFactory;
import org.junit.Before;
import org.junit.Ignore;
@ -259,4 +260,9 @@ public class InMemoryBlockStoreTest extends AbstractInMemoryBlockStoreTest {
blockStore.flush();
}
private SessionFactory sessionFactory() {
return null;
}
}

View File

@ -130,8 +130,8 @@ public class TestEthereumModule {
}
@Provides
ShhHandler provideShhHandler(EthereumListener listener) {
return new ShhHandler(listener);
ShhHandler provideShhHandler(WorldManager worldManager) {
return new ShhHandler(worldManager);
}
@Provides