From 08bcf5571f706a3867b910f277b983ebc1e01038 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Wed, 5 Jan 2022 10:29:54 +0100 Subject: [PATCH] Polishing. Corrected issue number comments. See #2232 Original pull request #2398 --- .../jpa/repository/AbstractPersistableIntegrationTests.java | 4 ++-- .../data/jpa/repository/UserRepositoryTests.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/springframework/data/jpa/repository/AbstractPersistableIntegrationTests.java b/src/test/java/org/springframework/data/jpa/repository/AbstractPersistableIntegrationTests.java index 2f9dadf2b..ebb2daf5e 100644 --- a/src/test/java/org/springframework/data/jpa/repository/AbstractPersistableIntegrationTests.java +++ b/src/test/java/org/springframework/data/jpa/repository/AbstractPersistableIntegrationTests.java @@ -68,7 +68,7 @@ public class AbstractPersistableIntegrationTests { assertThat(proxy).isEqualTo(proxy); } - @Test // gh-1697 + @Test // GH-1697 void equalsWorksForProxiedEntitiesUsingGetById() { CustomAbstractPersistable entity = repository.saveAndFlush(new CustomAbstractPersistable()); @@ -80,7 +80,7 @@ public class AbstractPersistableIntegrationTests { assertThat(proxy).isEqualTo(proxy); } - @Test // gh-1697 + @Test // GH-2232 void equalsWorksForProxiedEntitiesUsingGetReferenceById() { CustomAbstractPersistable entity = repository.saveAndFlush(new CustomAbstractPersistable()); diff --git a/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java b/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java index 113ae1a5a..841f7b466 100644 --- a/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java +++ b/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java @@ -1002,7 +1002,7 @@ public class UserRepositoryTests { assertThat(result).isEqualTo(firstUser); } - @Test // gh-1697 + @Test // GH-1697 void looksUpEntityReferenceUsingGetById() { flushTestUsers(); @@ -1011,7 +1011,7 @@ public class UserRepositoryTests { assertThat(result).isEqualTo(firstUser); } - @Test // gh-1697 + @Test // GH-2232 void looksUpEntityReferenceUsingGetReferenceById() { flushTestUsers();