Skip to content

Commit

Permalink
refactor: 미사용 메서드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
brorae committed May 1, 2022
1 parent 7bcec61 commit 97cc024
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/main/java/chess/dao/GameDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public interface GameDao {

String findPassword(int id);

Long findGameCount();

int update(String state, int id);

int delete(int id);
Expand Down
8 changes: 0 additions & 8 deletions src/test/java/chess/dao/GameDaoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ void findPassword() {
assertThat(password).isEqualTo("password");
}

@Test
@DisplayName("게임의 갯수를 조회할 수 있다.")
void findGameCount() {
Long gameCount = gameDao.findGameCount();

assertThat(gameCount).isEqualTo(1);
}

@Test
@DisplayName("게임의 상태를 업데이트할 수 있다.")
void update() {
Expand Down

0 comments on commit 97cc024

Please sign in to comment.