diff --git a/src/main/java/team18/team18_be/userInformation/dto/request/VisaResponse.java b/src/main/java/team18/team18_be/userInformation/dto/request/VisaResponse.java index ca96316..0640fb4 100644 --- a/src/main/java/team18/team18_be/userInformation/dto/request/VisaResponse.java +++ b/src/main/java/team18/team18_be/userInformation/dto/request/VisaResponse.java @@ -1,5 +1,5 @@ package team18.team18_be.userInformation.dto.request; -public record VisaResponse(String foreignerIdNumber, String visaGenereteDate, String visaExpiryDate) { +public record VisaResponse(String foreignerIdNumber, String visaGenerateDate, String visaExpiryDate) { } diff --git a/src/test/java/team18/team18_be/userInfo/userInformationServiceTest.java b/src/test/java/team18/team18_be/userInfo/userInformationServiceTest.java index 5e1a170..6151d87 100644 --- a/src/test/java/team18/team18_be/userInfo/userInformationServiceTest.java +++ b/src/test/java/team18/team18_be/userInfo/userInformationServiceTest.java @@ -121,7 +121,7 @@ public void testFindVisa() { //then assertEquals(foreignerInformation.getForeignerIdNumber(), visaResponse.foreignerIdNumber()); assertEquals(foreignerInformation.getVisaGenerateDate().toString(), - visaResponse.visaGenereteDate()); + visaResponse.visaGenerateDate()); assertEquals(foreignerInformation.getVisaExpiryDate().toString(), visaResponse.visaExpiryDate()); }