Skip to content

Commit de47b58

Browse files
committed
test: 고정된 LocalDateTime 반환 클래스 작성
1 parent 4f1a9a1 commit de47b58

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.somemore.common.fixture;
2+
3+
import java.time.LocalDateTime;
4+
5+
public class LocalDateTimeFixture {
6+
7+
public static LocalDateTime createStartDateTime() {
8+
// 2024-11-25 T:13:00:00
9+
return LocalDateTime.of(2024, 11, 25, 13, 0);
10+
}
11+
12+
public static LocalDateTime createUpdateStartDateTime() {
13+
// 2024-11-25 T:16:00:00
14+
return LocalDateTime.of(2024, 11, 25, 16, 0);
15+
}
16+
17+
}

0 commit comments

Comments
 (0)