diff --git a/.forge/BAIS-CTX-1783821073-attempt-3.md b/.forge/BAIS-CTX-1783821073-attempt-4.md
similarity index 63%
rename from .forge/BAIS-CTX-1783821073-attempt-3.md
rename to .forge/BAIS-CTX-1783821073-attempt-4.md
index 3a2b987..27c880c 100644
--- a/.forge/BAIS-CTX-1783821073-attempt-3.md
+++ b/.forge/BAIS-CTX-1783821073-attempt-4.md
@@ -1,3 +1,3 @@
-# BAIS-CTX-1783821073-attempt-3
+# BAIS-CTX-1783821073-attempt-4
-Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-3`.
+Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-4`.
diff --git a/pom.xml b/pom.xml
index c243b47..d025c7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,11 +1,15 @@
-
+
4.0.0
+
org.springframework.boot
spring-boot-starter-parent
3.5.14
+
com.klaro.bais
bais-platform
1.0-SNAPSHOT
@@ -14,4 +18,5 @@
services/payments
-
+
+
\ No newline at end of file
diff --git a/services/payments/pom.xml b/services/payments/pom.xml
index 223f36a..f4d20af 100644
--- a/services/payments/pom.xml
+++ b/services/payments/pom.xml
@@ -1,12 +1,16 @@
-
+
4.0.0
+
com.klaro.bais
bais-platform
1.0-SNAPSHOT
../../pom.xml
+
payments
@@ -17,7 +21,9 @@
org.springframework.boot
spring-boot-starter-test
+ 3.5.14
test
+
\ No newline at end of file
diff --git a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java
index 6dc5371..a349b69 100644
--- a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java
+++ b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java
@@ -3,7 +3,6 @@ package com.klaro.bais.payments;
import org.apache.commons.lang3.StringUtils;
public class PaymentReferenceService {
-
public String normalize(String input) {
return StringUtils.trimToEmpty(input);
}
diff --git a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java
index 3f9ff38..b363d79 100644
--- a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java
+++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java
@@ -13,12 +13,12 @@ class PaymentReferenceServiceTest {
}
@Test
- void testNormalizeWhitespace() {
+ void testNormalizeEmpty() {
assertEquals("", service.normalize(" "));
}
@Test
- void testNormalizeString() {
- assertEquals("test", service.normalize(" test "));
+ void testNormalizeNormalString() {
+ assertEquals("test", service.normalize(" test "));
}
}
\ No newline at end of file