From abc6ee5a20eabb2367038c22fa788f3a69568e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0dil=20Zeynep=20Alemdar?= Date: Sun, 12 Jan 2025 21:00:51 +0300 Subject: [PATCH] test: refactor relevant unit test --- .../common/exception/handler/GlobalExceptionHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/ays/common/exception/handler/GlobalExceptionHandlerTest.java b/src/test/java/org/ays/common/exception/handler/GlobalExceptionHandlerTest.java index 797a28028..b16e29c03 100644 --- a/src/test/java/org/ays/common/exception/handler/GlobalExceptionHandlerTest.java +++ b/src/test/java/org/ays/common/exception/handler/GlobalExceptionHandlerTest.java @@ -258,7 +258,7 @@ void givenUnsupportedHttpMethod_whenThrowHttpRequestMethodNotSupportedException_ // When AysErrorResponse mockErrorResponse = AysErrorResponse.builder() - .header(AysErrorResponse.Header.VALIDATION_ERROR.getName()) + .header(AysErrorResponse.Header.API_ERROR.getName()) .build(); // Then