Skip to content

Commit

Permalink
refactor: (#32) 테스트 관련 어노테이션 위치 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdtls690 committed Jul 18, 2023
1 parent af4c4f5 commit c3f2061
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

class PostCategoriesTest {

@DisplayName("여러 Category를 전달하면 Post와 매핑되어 PostOptions를 생성한다")
@Test
@DisplayName("여러 Category를 전달하면 Post와 매핑되어 PostOptions를 생성한다")
void mapPostAndCategories() {
// given
final PostCategories postCategories = new PostCategories();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

class PostOptionsTest {

@DisplayName("여러 PostOption을 저장한다")
@Test
@DisplayName("여러 PostOption을 저장한다")
void addAllPostOptions() {
// given
final PostOptions postOptions = new PostOptions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
class PostTest {

@DisplayName("여러 Category를 전달하면 Post와 매핑되어 PostOptions를 생성한다")
@Test
@DisplayName("여러 Category를 전달하면 Post와 매핑되어 PostOptions를 생성한다")
void mapCategories() {
// given
final Post post = Post.builder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class PostRepositoryTest {
@Autowired
private MemberRepository memberRepository;

@DisplayName("Post를 저장한다")
@Test
@DisplayName("Post를 저장한다")
void save() {
// given
final PostBody postBody = PostBody.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class PostServiceTest {
@InjectMocks
private PostService postService;

@DisplayName("게시글을 등록한다")
@Test
@DisplayName("게시글을 등록한다")
void save() {
// given
final Category category1 = Category.builder().build();
Expand Down

0 comments on commit c3f2061

Please sign in to comment.