From c897ee120f0387a8ccb584e50ffeb574d2bcabfd Mon Sep 17 00:00:00 2001 From: hong seokho Date: Wed, 29 May 2024 16:13:43 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=98=81=EC=86=8D=20=EC=83=81?= =?UTF-8?q?=ED=83=9C=20flush=20&=20clear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../friend/repository/MemberFriendQueryRepositoryTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/core/src/test/java/site/timecapsulearchive/core/domain/friend/repository/MemberFriendQueryRepositoryTest.java b/backend/core/src/test/java/site/timecapsulearchive/core/domain/friend/repository/MemberFriendQueryRepositoryTest.java index f66278ae5..d334b00be 100644 --- a/backend/core/src/test/java/site/timecapsulearchive/core/domain/friend/repository/MemberFriendQueryRepositoryTest.java +++ b/backend/core/src/test/java/site/timecapsulearchive/core/domain/friend/repository/MemberFriendQueryRepositoryTest.java @@ -105,6 +105,9 @@ void setup(@Autowired EntityManager entityManager) { entityManager.persist(notFriend); hashedNotFriendPhones.add(notFriend.getPhone_hash()); } + + entityManager.flush(); + entityManager.clear(); } @ParameterizedTest