Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
@Getter
public enum DiscordReviewMarker {

APPROVED(""),
REJECTED(""),
APPROVED("(승인되었습니다.)"),
REJECTED("(반려되었습니다.)"),
;

private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class 검수_결과를_표시한다 {
then(discordWebhookSender).should()
.editMessage(eq(WEBHOOK_URL), eq(MESSAGE_ID), contentCaptor.capture());
String content = contentCaptor.getValue();
assertThat(content).startsWith(" ").contains("홍길동").contains("[개발 서버 알림입니다]");
assertThat(content).startsWith("(승인되었습니다.) ").contains("홍길동").contains("[개발 서버 알림입니다]");
}

@Test
Expand All @@ -92,8 +92,8 @@ class 검수_결과를_표시한다 {
then(discordWebhookSender).should()
.editMessage(anyString(), anyString(), contentCaptor.capture());
String content = contentCaptor.getValue();
assertThat(content).startsWith(" ");
assertThat(content).doesNotContain("");
assertThat(content).startsWith("(반려되었습니다.) ");
assertThat(content).doesNotContain("승인되었습니다");
}
}

Expand Down
Loading