Skip to content

Commit

Permalink
test: 컨벤션에 맞게 DisplayName 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
zangsu committed Sep 11, 2024
1 parent e15f415 commit a0e21cc
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void setUp() {
}

@Test
@DisplayName("성공 : Template 을 이용한 TemplateTag 목록 조회")
@DisplayName("Template 을 이용한 TemplateTag 목록 조회 성공")
void findAllByTemplateTest() {
//given
Template template = templateRepository.save(createNthTemplate(member, category, 1));
Expand All @@ -76,7 +76,7 @@ void findAllByTemplateTest() {
class FindDistinctByTemplateIn {

@Test
@DisplayName("성공 : 정상적으로 태그 목록 조회")
@DisplayName("태그 목록 조회 성공 : 정상적으로 태그 목록 조회")
void testFindDistinctByTemplateIn() {
// given
Template template1 = templateRepository.save(createNthTemplate(member, category, 1));
Expand Down Expand Up @@ -104,7 +104,7 @@ void testFindDistinctByTemplateIn() {
}

@Test
@DisplayName("실패 : 존재하지 않는 템플릿 id를 사용하면 예외가 터지지 않고 해당 id 값이 무시된다.")
@DisplayName("태그 목록 조회 성공 : 존재하지 않는 템플릿 id를 사용하면 예외가 터지지 않고 해당 id 값이 무시된다.")
void notExistTemplateIdTest() {
long notExistTemplateId = 100L;

Expand All @@ -126,7 +126,7 @@ void notExistTemplateIdTest() {
class findAllTemplateIdInTagIds {

@Test
@DisplayName("성공 : 템플릿 목록을 정상적으로 조회한다.")
@DisplayName("템플릿 목록 조회 성공 : 템플릿 목록을 정상적으로 조회한다.")
void successTest() {
//given
Template template1 = templateRepository.save(createNthTemplate(member, category, 1));
Expand Down Expand Up @@ -159,7 +159,7 @@ void successTest() {
}

@Test
@DisplayName("실패 : 존재하지 않는 태그를 검색 조건으로 사용하면 예외가 터지지 않고 해당 조건이 무시된다.")
@DisplayName("템플릿 목록 조회 성공 : 존재하지 않는 태그를 검색 조건으로 사용하면 예외가 터지지 않고 해당 조건이 무시된다.")
void notExistTagTest() {
//given
long notExistId = 100L;
Expand All @@ -183,7 +183,7 @@ void notExistTagTest() {
class deleteAllByTemplateId {

@Test
@DisplayName("성공 : 주어진 id 의 템플릿에선 태그가 삭제되고, 나머지 템플릿의 태그에는 영향을 주지 않는다.")
@DisplayName("태그 삭제 성공 : 주어진 id 의 템플릿에선 태그가 삭제되고, 나머지 템플릿의 태그에는 영향을 주지 않는다.")
void successTest() {
//given
Template template1 = templateRepository.save(createNthTemplate(member, category, 1));
Expand All @@ -209,7 +209,7 @@ void successTest() {
}

@Test
@DisplayName("실패 : 존재하지 않는 id 를 사용해도 예외가 발생하지 않고 아무 영향이 없다.")
@DisplayName("태그 삭제 성공 : 존재하지 않는 id 를 사용해도 예외가 발생하지 않고 아무 영향이 없다.")
void notExistIdTest() {
//given
Template template = templateRepository.save(createNthTemplate(member, category, 1));
Expand Down

0 comments on commit a0e21cc

Please sign in to comment.