Skip to content

Commit

Permalink
Merge pull request #176 from theMomentTeam/feature/date-since-project…
Browse files Browse the repository at this point in the history
…-start-test-ignore

[UPDATE] date-since-project-start 관련 테스트 비활성
  • Loading branch information
jyeonjyan authored Jul 12, 2021
2 parents 32df854 + 9bca2b3 commit 267c6b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
import com.moment.the.table.service.TableService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.http.MediaType;
Expand Down Expand Up @@ -216,6 +213,7 @@ String objectToJson(Object object) throws JsonProcessingException {
;
}

@Disabled
@Test @DisplayName("[GET]/v1/uncomfortable/dateSinceProjectStart")
void dateSinceProjectStart_검증() throws Exception {
//Given
Expand Down
5 changes: 3 additions & 2 deletions src/test/java/com/moment/the/service/TableServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.moment.the.table.repository.TableRepository;
import com.moment.the.table.service.TableService;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -118,8 +119,8 @@ public void cleanUp(){
assertEquals(amountUncomfortable, 10);
}

@Test
@DisplayName("TableService 프로젝트 시작 이후 날짜 보여주기 (dateSinceProjectStart) 검증")
@Disabled
@Test @DisplayName("TableService 프로젝트 시작 이후 날짜 보여주기 (dateSinceProjectStart) 검증")
void TableService_dateSinceProjectStart_검증(){
// Given
LocalDate startTheMoment = LocalDate.of(2021,6,7);
Expand Down

0 comments on commit 267c6b5

Please sign in to comment.