Fix broken Multitenancy test

This commit is contained in:
Vlad Mihalcea 2016-03-01 07:23:36 +02:00
parent eb6faaa55c
commit 8f24d0458b
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public abstract class AbstractMultiTenancyTest extends BaseUnitTestCase {
protected SessionFactory sessionFactory(Map<String, Object> settings) {
ServiceRegistryImplementor serviceRegistry = (ServiceRegistryImplementor) new StandardServiceRegistryBuilder()
.applySettings( settings() )
.applySettings( settings )
.build();
MetadataSources metadataSources = new MetadataSources( serviceRegistry );