NHSDigital/integration-adaptor-111

Unit test fail

Opened this issue · 0 comments

I'm trying to run ./gradlew test but always fail with the following:

Task :test

ReportControllerTest > postReportInvalidItkRequest() FAILED
java.lang.RuntimeException at ReportControllerTest.java:91
Caused by: java.nio.file.InvalidPathException at ReportControllerTest.java:89

ReportControllerTest > postReportValidRequest() FAILED
java.lang.RuntimeException at ReportControllerTest.java:91
Caused by: java.nio.file.InvalidPathException at ReportControllerTest.java:89

ItkResponseUtilTest > shouldCreateSuccessResponseEntity() FAILED
org.opentest4j.AssertionFailedError at ItkResponseUtilTest.java:26

ItkResponseUtilTest > shouldCreateUnSuccessResponseEntity() FAILED
org.opentest4j.AssertionFailedError at ItkResponseUtilTest.java:57

87 tests completed, 4 failed

Task :test FAILED

FAILURE: Build failed with an exception.