Test fixes.
This commit is contained in:
parent
e376bfc922
commit
56ccc0853a
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue