FilesControllerTest assumes local files
// Perform GET request // Uploads folder isn't constant so test may fail, just create local file and it should work mockMvc.perform(MockMvcRequestBuilders.get("/api/files/test.jpg")) .andExpect(MockMvcResultMatchers.status().isOk()); }
This is unfortunately problematic because of the CI pipeline. Can this be rewritten?