Bump spring-boot-starter-parent from 3.3.5 to 3.4.0 (#161)

This commit is contained in:
Stefano Cordio
2024-11-25 14:35:46 +01:00
committed by GitHub
parent ddc7cc231f
commit 20a89f64d6
2 changed files with 2 additions and 3 deletions

View File

@@ -20,7 +20,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.5</version>
<version>3.4.0</version>
<relativePath/>
</parent>

View File

@@ -19,7 +19,6 @@ package org.springframework.batch.extensions.neo4j.builder;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.neo4j.cypherdsl.core.Cypher;
import org.neo4j.cypherdsl.core.Functions;
import org.neo4j.driver.Driver;
import org.neo4j.driver.ExecutableQuery;
import org.springframework.batch.extensions.neo4j.Neo4jItemWriter;
@@ -83,7 +82,7 @@ public class Neo4jItemWriterBuilderTests {
IdDescription idDescription = mock(IdDescription.class);
ExecutableQuery executableQuery = mock(ExecutableQuery.class);
when(identifierAccessor.getRequiredIdentifier()).thenReturn("someId");
when(idDescription.asIdExpression(anyString())).thenReturn(Functions.id(Cypher.anyNode()));
when(idDescription.asIdExpression(anyString())).thenReturn(Cypher.anyNode().elementId());
when(executableQuery.withParameters(any())).thenReturn(executableQuery);
when(persistentEntity.getIdentifierAccessor(any())).thenReturn(identifierAccessor);
when(persistentEntity.getPrimaryLabel()).thenReturn("SomeLabel");