From 97cc024c8b655a010871c4872e078455e45d9ada Mon Sep 17 00:00:00 2001 From: brorae Date: Sun, 1 May 2022 22:55:01 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=AF=B8=EC=82=AC=EC=9A=A9=20?= =?UTF-8?q?=EB=A9=94=EC=84=9C=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/chess/dao/GameDao.java | 2 -- src/test/java/chess/dao/GameDaoTest.java | 8 -------- 2 files changed, 10 deletions(-) diff --git a/src/main/java/chess/dao/GameDao.java b/src/main/java/chess/dao/GameDao.java index 395952890c..f5cde03bdd 100644 --- a/src/main/java/chess/dao/GameDao.java +++ b/src/main/java/chess/dao/GameDao.java @@ -14,8 +14,6 @@ public interface GameDao { String findPassword(int id); - Long findGameCount(); - int update(String state, int id); int delete(int id); diff --git a/src/test/java/chess/dao/GameDaoTest.java b/src/test/java/chess/dao/GameDaoTest.java index 4d3ac24aab..222135e9fd 100644 --- a/src/test/java/chess/dao/GameDaoTest.java +++ b/src/test/java/chess/dao/GameDaoTest.java @@ -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() {