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 29
29
import org .springframework .data .neo4j .core .schema .GeneratedValue ;
30
30
import org .springframework .data .neo4j .core .schema .Id ;
31
31
import org .springframework .data .neo4j .core .schema .Node ;
32
- import org .springframework .data .util .ClassTypeInformation ;
32
+ import org .springframework .data .util .TypeInformation ;
33
33
34
34
import java .util .Collections ;
35
35
import java .util .HashMap ;
@@ -49,7 +49,7 @@ class DefaultNeo4jEntityConverterTest {
49
49
NodeDescriptionStore nodeDescriptionStore = new NodeDescriptionStore ();
50
50
DefaultNeo4jConversionService conversionService = new DefaultNeo4jConversionService (new Neo4jConversions ());
51
51
Neo4jMappingContext context = new Neo4jMappingContext ();
52
- context .addPersistentEntity (ClassTypeInformation . from (EntityWithDefaultValues .class ));
52
+ context .addPersistentEntity (TypeInformation . of (EntityWithDefaultValues .class ));
53
53
nodeDescriptionStore .put ("User" , (DefaultNeo4jPersistentEntity <?>) context .getNodeDescription (EntityWithDefaultValues .class ));
54
54
EventSupport eventSupport = EventSupport .useExistingCallbacks (context , EntityCallbacks .create ());
55
55
TypeSystem typeSystem = InternalTypeSystem .TYPE_SYSTEM ;
You can’t perform that action at this time.
0 commit comments