File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
src/test/java/com/somemore/recruitboard/domain Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 33import static com .somemore .common .fixture .LocalDateTimeFixture .createCurrentDateTime ;
44import static com .somemore .common .fixture .LocalDateTimeFixture .createStartDateTime ;
55import static com .somemore .common .fixture .LocalDateTimeFixture .createUpdateStartDateTime ;
6- import static com .somemore .common .fixture .RecruitBoardFixture .createCloseRecruitBoard ;
76import static com .somemore .common .fixture .RecruitBoardFixture .createRecruitBoard ;
87import static com .somemore .recruitboard .domain .RecruitStatus .CLOSED ;
98import static com .somemore .recruitboard .domain .RecruitStatus .COMPLETED ;
@@ -192,29 +191,17 @@ void changeStatusWhenDeadLineAfter(Long secondsOffset) {
192191
193192 }
194193
195- @ DisplayName ("모집중일 경우 지원이 가능하다 " )
194+ @ DisplayName ("모집중일 경우 True 반환한다. " )
196195 @ Test
197- void isApplicationOpen () {
196+ void isRecruitOpen () {
198197 // given
199198 RecruitBoard board = createRecruitBoard ();
200199
201200 // when
202- boolean result = board .isApplicationOpen ();
201+ boolean result = board .isRecruitOpen ();
203202
204203 // then
205204 assertThat (result ).isTrue ();
206205 }
207206
208- @ DisplayName ("모집중이 아닐 경우 지원이 불가능하다" )
209- @ Test
210- void isApplicationOpenWhenNotRECRUTING () {
211- // given
212- RecruitBoard board = createCloseRecruitBoard ();
213-
214- // when
215- boolean result = board .isApplicationOpen ();
216-
217- // then
218- assertThat (result ).isFalse ();
219- }
220207}
You can’t perform that action at this time.
0 commit comments