File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/springframework/data/neo4j/core/mapping Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929import org .springframework .data .neo4j .core .schema .GeneratedValue ;
3030import org .springframework .data .neo4j .core .schema .Id ;
3131import org .springframework .data .neo4j .core .schema .Node ;
32- import org .springframework .data .util .ClassTypeInformation ;
32+ import org .springframework .data .util .TypeInformation ;
3333
3434import java .util .Collections ;
3535import java .util .HashMap ;
@@ -49,7 +49,7 @@ class DefaultNeo4jEntityConverterTest {
4949 NodeDescriptionStore nodeDescriptionStore = new NodeDescriptionStore ();
5050 DefaultNeo4jConversionService conversionService = new DefaultNeo4jConversionService (new Neo4jConversions ());
5151 Neo4jMappingContext context = new Neo4jMappingContext ();
52- context .addPersistentEntity (ClassTypeInformation . from (EntityWithDefaultValues .class ));
52+ context .addPersistentEntity (TypeInformation . of (EntityWithDefaultValues .class ));
5353 nodeDescriptionStore .put ("User" , (DefaultNeo4jPersistentEntity <?>) context .getNodeDescription (EntityWithDefaultValues .class ));
5454 EventSupport eventSupport = EventSupport .useExistingCallbacks (context , EntityCallbacks .create ());
5555 TypeSystem typeSystem = InternalTypeSystem .TYPE_SYSTEM ;
You can’t perform that action at this time.
0 commit comments