Skip to content

Commit

Permalink
Replace queryOffset of '1 = 1' with null in testSetDownloadStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-austin committed Jan 2, 2025
1 parent 4c3b281 commit bcdcfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/icatproject/topcat/UserResourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void testSetDownloadStatus() throws Exception {
userResource.setDownloadStatus(testDownload.getId(), facilityName, sessionId, DownloadStatus.RESTORING.toString());
});

Response response = userResource.getDownloads(facilityName, sessionId, "1 = 1");
Response response = userResource.getDownloads(facilityName, sessionId, null);
assertEquals(200, response.getStatus());
List<Download> downloads = (List<Download>) response.getEntity();

Expand Down

0 comments on commit bcdcfde

Please sign in to comment.