diff --git a/services/users/src/main/java/com/workup/users/commands/FreelancerRegisterCommand.java b/services/users/src/main/java/com/workup/users/commands/FreelancerRegisterCommand.java index 1e02221d..ff0c0a39 100644 --- a/services/users/src/main/java/com/workup/users/commands/FreelancerRegisterCommand.java +++ b/services/users/src/main/java/com/workup/users/commands/FreelancerRegisterCommand.java @@ -29,7 +29,7 @@ public SignUpAndInResponse Run(FreelancerRegisterRequest request) { Freelancer.builder() .withEmail(request.getEmail()) .withPassword_hash(hashPassword(request.getPassword())) - .withFull_name(request.getFullName()) + .withFullName(request.getFullName()) .withJob_title(request.getJobTitle()) .withCity(request.getCity()) .build(); diff --git a/services/users/src/test/java/com/workup/users/UsersApplicationTests.java b/services/users/src/test/java/com/workup/users/UsersApplicationTests.java index 6a303a12..1404b271 100644 --- a/services/users/src/test/java/com/workup/users/UsersApplicationTests.java +++ b/services/users/src/test/java/com/workup/users/UsersApplicationTests.java @@ -86,7 +86,7 @@ public void testFreelancerRegister() { FreelancerRegisterRequest.builder() .withEmail(freelancer.getEmail()) .withPassword(freelancer.getPassword_hash()) - .withFullName(freelancer.getFull_name()) + .withFullName(freelancer.getFullName()) .withCity(freelancer.getCity()) .withJobTitle(freelancer.getJob_title()) .withBirthDate(freelancer.getBirthdate())