Skip to content

Commit 1323f44

Browse files
committed
refactor: test package 구조 변경
- 일부 패키지 global 이동 및 support 패키지
1 parent 858b8cc commit 1323f44

File tree

108 files changed

+180
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+180
-180
lines changed

src/test/java/com/somemore/center/controller/CenterProfileCommandApiControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.somemore.center.controller;
22

33
import com.fasterxml.jackson.databind.ObjectMapper;
4-
import com.somemore.ControllerTestSupport;
5-
import com.somemore.WithMockCustomUser;
4+
import com.somemore.support.ControllerTestSupport;
5+
import com.somemore.support.annotation.WithMockCustomUser;
66
import com.somemore.center.dto.request.CenterProfileUpdateRequestDto;
77
import com.somemore.center.usecase.command.UpdateCenterProfileUseCase;
88
import com.somemore.global.imageupload.usecase.ImageUploadUseCase;

src/test/java/com/somemore/center/controller/CenterQueryApiControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.controller;
22

3-
import com.somemore.ControllerTestSupport;
3+
import com.somemore.support.ControllerTestSupport;
44
import com.somemore.center.dto.response.CenterProfileResponseDto;
55
import com.somemore.center.usecase.query.CenterQueryUseCase;
66
import com.somemore.global.exception.BadRequestException;

src/test/java/com/somemore/center/controller/PreferItemCommandApiControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.somemore.center.controller;
22

3-
import com.somemore.ControllerTestSupport;
4-
import com.somemore.WithMockCustomUser;
3+
import com.somemore.support.ControllerTestSupport;
4+
import com.somemore.support.annotation.WithMockCustomUser;
55
import com.somemore.center.dto.request.PreferItemCreateRequestDto;
66
import com.somemore.center.dto.response.PreferItemCreateResponseDto;
77
import com.somemore.center.usecase.command.CreatePreferItemUseCase;

src/test/java/com/somemore/center/repository/CenterRepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.repository;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.Center;
55
import com.somemore.center.repository.center.CenterRepository;
66
import jakarta.transaction.Transactional;

src/test/java/com/somemore/center/repository/PreferItemRepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.repository;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.PreferItem;
55
import com.somemore.center.repository.preferitem.PreferItemJpaRepository;
66
import com.somemore.center.repository.preferitem.PreferItemRepository;

src/test/java/com/somemore/center/service/command/CreatePreferItemServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.service.command;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.Center;
55
import com.somemore.center.domain.PreferItem;
66
import com.somemore.center.dto.request.PreferItemCreateRequestDto;

src/test/java/com/somemore/center/service/command/DeletePreferItemServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.service.command;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.Center;
55
import com.somemore.center.domain.PreferItem;
66
import com.somemore.center.dto.request.PreferItemCreateRequestDto;

src/test/java/com/somemore/center/service/command/UpdateCenterProfileServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.service.command;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.Center;
55
import com.somemore.center.dto.request.CenterProfileUpdateRequestDto;
66
import com.somemore.center.repository.center.CenterRepository;
@@ -13,7 +13,7 @@
1313

1414
import java.util.UUID;
1515

16-
import static com.somemore.common.fixture.CenterFixture.createCenter;
16+
import static com.somemore.support.fixture.CenterFixture.createCenter;
1717
import static com.somemore.global.exception.ExceptionMessage.NOT_EXISTS_CENTER;
1818
import static org.assertj.core.api.Assertions.*;
1919

src/test/java/com/somemore/center/service/query/CenterQueryServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.service.query;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.Center;
55
import com.somemore.center.domain.PreferItem;
66
import com.somemore.center.repository.mapper.CenterOverviewInfo;

src/test/java/com/somemore/center/service/query/CenterSignServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.service.query;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.support.IntegrationTestSupport;
44
import com.somemore.center.domain.Center;
55
import com.somemore.center.repository.center.CenterJpaRepository;
66
import com.somemore.center.repository.center.CenterRepository;
@@ -103,4 +103,4 @@ private static Center createCenter() {
103103
"password123"
104104
);
105105
}
106-
}
106+
}

0 commit comments

Comments
 (0)