File Integration tests are failing.
Below two test are failing when we run integration tests
- first_getLocation_then_shouldReturnFileList_sameFileId
- shouldReturnNotEmptyFileIdAndSignedURL_whenGetLocationWithoutBody
After analysing, we found that test case are expecting that when we request for /getLocation without body(without FileID) it expects a random FileID to be generated and return Location and FileId as response but in file-core code we see that when request is without FileID it gives BAD_REQUEST
Also there is code for generating random ID but that method is never gets called as we get BAD_REQUEST before this.
Note - we see there is disabled test case "getLocationShouldReturnForbidden_whenGivenNoDataAccess()" which expects 403 as response but we have checked in code and other services it return 401.