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 06b644a..ca96316 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 foreginerNumber, String visaGenereteDate, String visaExpiryDate) { +public record VisaResponse(String foreignerIdNumber, String visaGenereteDate, 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 cf52afa..5e1a170 100644 --- a/src/test/java/team18/team18_be/userInfo/userInformationServiceTest.java +++ b/src/test/java/team18/team18_be/userInfo/userInformationServiceTest.java @@ -119,7 +119,7 @@ public void testFindVisa() { //when VisaResponse visaResponse = userInformationService.findVisa(employeeId); //then - assertEquals(foreignerInformation.getForeignerIdNumber(), visaResponse.foreginerNumber()); + assertEquals(foreignerInformation.getForeignerIdNumber(), visaResponse.foreignerIdNumber()); assertEquals(foreignerInformation.getVisaGenerateDate().toString(), visaResponse.visaGenereteDate()); assertEquals(foreignerInformation.getVisaExpiryDate().toString(),