Skip to content

Commit db06331

Browse files
committed
renamed test entity
1 parent 048f7f2 commit db06331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-data-relational/src/test/java/org/springframework/data/relational/core/mapping/ColumnInfosUnitTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void singleElementColumnInfos() {
6464
@Test // GH-574
6565
void multiElementColumnInfos() {
6666

67-
AggregatePath.ColumnInfos columnInfos = basePath(DummyEntityWithCompositeId.class).getTableInfo().idColumnInfos();
67+
AggregatePath.ColumnInfos columnInfos = basePath(WithCompositeId.class).getTableInfo().idColumnInfos();
6868

6969
assertThat(columnInfos.isEmpty()).isFalse();
7070
assertThat(columnInfos.any().name()).isEqualTo(SqlIdentifier.quoted("ONE"));
@@ -97,6 +97,6 @@ record DummyEntity(@Id String id, String name) {
9797
record CompositeId(String one, String two) {
9898
}
9999

100-
record DummyEntityWithCompositeId(@Id @Embedded.Nullable CompositeId id, String name) {
100+
record WithCompositeId(@Id @Embedded.Nullable CompositeId id, String name) {
101101
}
102102
}

0 commit comments

Comments
 (0)