Skip to content

Commit 9a4c087

Browse files
committed
refactor(community): CommunityBoardRepository 네이밍 변경
1 parent e087c0c commit 9a4c087

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main/java/com/somemore/community/repository/CommunityRepositoryImpl.java renamed to src/main/java/com/somemore/community/repository/board/CommunityBoardRepositoryImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.somemore.community.repository;
1+
package com.somemore.community.repository.board;
22

33
import com.querydsl.core.types.Projections;
44
import com.querydsl.jpa.impl.JPAQuery;
@@ -16,7 +16,7 @@
1616

1717
@RequiredArgsConstructor
1818
@Repository
19-
public class CommunityRepositoryImpl implements CommunityBoardRepository {
19+
public class CommunityBoardRepositoryImpl implements CommunityBoardRepository {
2020

2121
private final JPAQueryFactory queryFactory;
2222
private final CommunityBoardJpaRepository communityBoardJpaRepository;

src/test/java/com/somemore/community/repository/CommunityRepositoryTest.java renamed to src/test/java/com/somemore/community/repository/CommunityBoardRepositoryTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.somemore.auth.oauth.OAuthProvider;
55
import com.somemore.community.domain.CommunityBoard;
66
import com.somemore.community.domain.CommunityBoardView;
7+
import com.somemore.community.repository.board.CommunityBoardRepository;
78
import com.somemore.volunteer.domain.Volunteer;
89
import com.somemore.volunteer.repository.VolunteerRepository;
910
import org.junit.jupiter.api.DisplayName;
@@ -18,7 +19,7 @@
1819
import static org.assertj.core.api.Assertions.assertThat;
1920

2021
@Transactional
21-
class CommunityRepositoryTest extends IntegrationTestSupport {
22+
class CommunityBoardRepositoryTest extends IntegrationTestSupport {
2223

2324
@Autowired
2425
private CommunityBoardRepository communityBoardRepository;

0 commit comments

Comments
 (0)