Browse Source

Polishing.

See #934
pull/985/head
Jens Schauder 5 years ago
parent
commit
2c413a2d3b
No known key found for this signature in database
GPG Key ID: 45CC872F17423DBF
  1. 10
      spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/JdbcAggregateTemplateIntegrationTests.java

10
spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/JdbcAggregateTemplateIntegrationTests.java

@ -37,9 +37,7 @@ import java.util.Set; @@ -37,9 +37,7 @@ import java.util.Set;
import java.util.function.Function;
import java.util.stream.IntStream;
import net.bytebuddy.asm.Advice;
import org.assertj.core.api.SoftAssertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
@ -312,7 +310,7 @@ public class JdbcAggregateTemplateIntegrationTests { @@ -312,7 +310,7 @@ public class JdbcAggregateTemplateIntegrationTests {
}
@Test // DATAJDBC-112
@EnabledOnFeature({SUPPORTS_QUOTED_IDS, SUPPORTS_GENERATED_IDS_IN_REFERENCED_ENTITIES})
@EnabledOnFeature({ SUPPORTS_QUOTED_IDS, SUPPORTS_GENERATED_IDS_IN_REFERENCED_ENTITIES })
public void updateReferencedEntityFromNull() {
legoSet.setManual(null);
@ -851,7 +849,6 @@ public class JdbcAggregateTemplateIntegrationTests { @@ -851,7 +849,6 @@ public class JdbcAggregateTemplateIntegrationTests {
assertThat(loaded.testTime).isEqualTo(entity.testTime);
}
private <T extends Number> void saveAndUpdateAggregateWithVersion(VersionedAggregate aggregate,
Function<Number, T> toConcreteNumber) {
saveAndUpdateAggregateWithVersion(aggregate, toConcreteNumber, 0);
@ -1199,10 +1196,9 @@ public class JdbcAggregateTemplateIntegrationTests { @@ -1199,10 +1196,9 @@ public class JdbcAggregateTemplateIntegrationTests {
}
@Table
static class WithLocalDateTime{
static class WithLocalDateTime {
@Id
Long id;
@Id Long id;
LocalDateTime testTime;
}

Loading…
Cancel
Save