Skip to content

Commit

Permalink
test: 테스트 실패 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghwankim-dev committed Aug 30, 2024
1 parent 6e06a15 commit 1d18377
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions src/test/java/codesquad/fineants/AbstractContainerBaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,41 +353,7 @@ protected List<StockDividend> createStockDividendThisYearWith(Stock stock) {
stock)
);
}

protected List<StockDividend> createStockDividendThisYearWith(Stock stock) {
return List.of(
createStockDividend(
LocalDate.of(2024, 3, 31), LocalDate.of(2024, 3, 29),
LocalDate.of(2024, 5, 17),
stock),
createStockDividend(
LocalDate.of(2024, 6, 30), LocalDate.of(2024, 6, 28),
LocalDate.of(2024, 8, 16),
stock),
createStockDividend(
LocalDate.of(2024, 9, 30), LocalDate.of(2024, 9, 27),
LocalDate.of(2024, 11, 20),
stock)
);
}

protected List<StockDividend> createStockDividendThisYearWith(Stock stock) {
return List.of(
createStockDividend(
LocalDate.of(2024, 3, 31), LocalDate.of(2024, 3, 29),
LocalDate.of(2024, 5, 17),
stock),
createStockDividend(
LocalDate.of(2024, 6, 30), LocalDate.of(2024, 6, 28),
LocalDate.of(2024, 8, 16),
stock),
createStockDividend(
LocalDate.of(2024, 9, 30), LocalDate.of(2024, 9, 27),
LocalDate.of(2024, 11, 20),
stock)
);
}


protected Cookie[] createTokenCookies() {
TokenFactory tokenFactory = new TokenFactory();
Token token = Token.create("accessToken", "refreshToken");
Expand Down

0 comments on commit 1d18377

Please sign in to comment.