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

View File

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