Skip to content

Commit ede99c0

Browse files
committed
[hibernate#1001] Remove setup of custom VertxInstance for tests
It's not required anymore because now we get the Vert.x instance from the current context.
1 parent 21ddc12 commit ede99c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/BaseReactiveTest.java

-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.hibernate.reactive.provider.service.ReactiveSchemaManagementTool;
2727
import org.hibernate.reactive.stage.Stage;
2828
import org.hibernate.reactive.testing.SessionFactoryManager;
29-
import org.hibernate.reactive.vertx.VertxInstance;
3029
import org.hibernate.tool.schema.spi.SchemaManagementTool;
3130

3231
import org.junit.After;
@@ -189,7 +188,6 @@ private void startFactoryManager(Promise<Object> p, Configuration configuration
189188

190189
private SessionFactory createHibernateSessionFactory(Configuration configuration) {
191190
StandardServiceRegistryBuilder builder = new ReactiveServiceRegistryBuilder()
192-
.addService( VertxInstance.class, (VertxInstance) () -> vertxContextRule.vertx() )
193191
.applySettings( configuration.getProperties() );
194192
addServices( builder );
195193
StandardServiceRegistry registry = builder.build();

0 commit comments

Comments
 (0)