From d76500a749ee5fb61f6cf3c3adf02fd3179c5281 Mon Sep 17 00:00:00 2001 From: haiseong Date: Tue, 6 Aug 2024 17:45:23 +0900 Subject: [PATCH] :recycle: exception messages --- .../authentication/controller/LoginControllerTest.java | 2 +- .../net/pengcook/authentication/service/LoginServiceTest.java | 2 +- .../net/pengcook/category/service/CategoryServiceTest.java | 3 +-- .../src/test/java/net/pengcook/user/domain/UserBlockTest.java | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/src/test/java/net/pengcook/authentication/controller/LoginControllerTest.java b/backend/src/test/java/net/pengcook/authentication/controller/LoginControllerTest.java index b631a975..8516ebd9 100644 --- a/backend/src/test/java/net/pengcook/authentication/controller/LoginControllerTest.java +++ b/backend/src/test/java/net/pengcook/authentication/controller/LoginControllerTest.java @@ -118,7 +118,7 @@ void loginWithGoogleWithEmailNotRegistered() throws FirebaseAuthException { } @Test - @DisplayName("구글 계정으로 회원가입을 할 수 있다.") + @DisplayName("구글 계정으로 회원가입을 한다.") void signUpWithGoogle() throws FirebaseAuthException { String email = "new_face@pengcook.net"; String idToken = "test.id.token"; diff --git a/backend/src/test/java/net/pengcook/authentication/service/LoginServiceTest.java b/backend/src/test/java/net/pengcook/authentication/service/LoginServiceTest.java index bf3849a8..e8cb213f 100644 --- a/backend/src/test/java/net/pengcook/authentication/service/LoginServiceTest.java +++ b/backend/src/test/java/net/pengcook/authentication/service/LoginServiceTest.java @@ -82,7 +82,7 @@ void loginWithGoogleWithEmailNotRegistered() throws FirebaseAuthException { } @Test - @DisplayName("구글 계정으로 회원가입을 할 수 있다.") + @DisplayName("구글 계정으로 회원가입을 한다.") void signUpWithGoogle() throws FirebaseAuthException { String email = "new_face@pengcook.net"; String idToken = "test.id.token"; diff --git a/backend/src/test/java/net/pengcook/category/service/CategoryServiceTest.java b/backend/src/test/java/net/pengcook/category/service/CategoryServiceTest.java index 0c57cce2..b28f2a27 100644 --- a/backend/src/test/java/net/pengcook/category/service/CategoryServiceTest.java +++ b/backend/src/test/java/net/pengcook/category/service/CategoryServiceTest.java @@ -8,7 +8,6 @@ import net.pengcook.category.repository.CategoryRecipeRepository; import net.pengcook.category.repository.CategoryRepository; import net.pengcook.recipe.domain.Recipe; -import net.pengcook.recipe.service.RecipeService; import net.pengcook.user.domain.User; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @@ -33,7 +32,7 @@ class CategoryServiceTest { private CategoryRecipeRepository categoryRecipeRepository; @Test - @DisplayName("레시피의 카테고리를 저장할 수 있다.") + @DisplayName("레시피의 카테고리를 저장한다.") void saveCategories() { User author = new User("ela@pengcook.net", "ela", "엘라", "ela.jpg", "KOREA"); Recipe recipe = new Recipe(1L, "김치볶음밥", author, LocalTime.of(0, 30, 0), "김치볶음밥이미지.jpg", 3, 2, "김치볶음밥 조리법"); diff --git a/backend/src/test/java/net/pengcook/user/domain/UserBlockTest.java b/backend/src/test/java/net/pengcook/user/domain/UserBlockTest.java index 116ed129..f24e87c0 100644 --- a/backend/src/test/java/net/pengcook/user/domain/UserBlockTest.java +++ b/backend/src/test/java/net/pengcook/user/domain/UserBlockTest.java @@ -11,7 +11,7 @@ class UserBlockTest { @Test - @DisplayName("UserBlock 객체를 생성할 수 있다.") + @DisplayName("UserBlock 객체를 생성한다.") void create() { User user_loki = new User(1L, "loki@pengcook.net", "loki", "로키", "loki.jpg", "KOREA"); User user_pond = new User(2L, "pond@pengcook.net", "pond", "폰드", "pond.jpg", "KOREA");