JUnit integration test fails but Postman test passes with NullPointerException
Please ignore the excessive proliferation of logging. I’m desperate. The code below works when I run the application as a Spring Boot Applicant and use Postman to do a PUT with all of the same ApplicantDO data. I worry that the CompletableFuture might be causing the problem, but I’m new to using it. To the best of my ability to debug so far, I keep failing in this snippet of code. I could be wrong though:
JUnit integration test fails but Postman test passes with NullPointerException
Please ignore the excessive proliferation of logging. I’m desperate. The code below works when I run the application as a Spring Boot Applicant and use Postman to do a PUT with all of the same ApplicantDO data. I worry that the CompletableFuture might be causing the problem, but I’m new to using it. To the best of my ability to debug so far, I keep failing in this snippet of code. I could be wrong though: